Reputation: 102
I usually make JSONP requests to another domain from the root of my website, https://example.com/ , but I can't do that anymore, since I now use a secure connection. How can I still make an asynchronous request to an external domain, without having access blocked by browsers? If necessary, I can restrict https only to the sign in/up page, but that isn't preferred.
Upvotes: 0
Views: 108
Reputation: 30082
A typical solution is to proxy the calls through your own server. For example, send a request to yourpage.(aspx|php|jsf)
and then have that make the remote call to the server.
Upvotes: 1