Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
105
rated 0 times [  106] [ 1]  / answers: 1 / hits: 28749  / 7 Years ago, fri, october 13, 2017, 12:00:00

I had to change my HTTP website to HTTPS because of html5 Geo-location
API restrictions.Now that API is working fine and the whole website
works fine on local-host but when it's hosted online no API gets
called and i get no data with Status: 0. I have a Node.js back-end.




Is the reason why it's not working is because i am calling an HTTP API
from an HTTPS website?




If so how do i fix this the easier way and if
not than what is the case. I am calling it using angular 1.


More From » angularjs

 Answers
8

This is about same origin policy, please check detail at: HTTP Ajax Request via HTTPS Page


[#56231] Tuesday, October 10, 2017, 7 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quentinaveryb

Total Points: 102
Total Questions: 100
Total Answers: 93

Location: Colombia
Member since Mon, May 2, 2022
2 Years ago
quentinaveryb questions
Thu, Aug 6, 20, 00:00, 4 Years ago
Fri, Jul 17, 20, 00:00, 4 Years ago
Mon, Aug 12, 19, 00:00, 5 Years ago
;