I have a http://
site that needs to access a 3rd party JSON API that is exposed on an https://
site. I've read through Ways to circumvent the same-origin policy, but it seems the methods described there aren't appropriate for me:
- The document.domain method - only works on subdomains.
- The Cross-Origin Resource Sharing method - requires server cooperation.
- The window.postMessage method - seems to require opening a popup window?
- The Reverse Proxy method - A possible solution, but seems a bit too hard to setup.
- http://anyorigin.com - seems to not support SSL.
Is this it? Must I implement solution 4, which seems rather complicated, or am I missing something?