dimanche 21 juin 2015

How to get JSON data from an HTTPS url using JS?

I want to get data from a JSON file for my webpage, I searched a lot and I failed to find a request that succeeds with HTTPS.

I get this error when I run the HTML file on my machine using jQuery.getJSON(): Origin null is not allowed by Access-Control-Allow-Origin.

Any ideas??




Aucun commentaire:

Enregistrer un commentaire