Hello @noblegas87, please read the “API - (CORS enabled)” section of the myjson.com website. You’ll find the link at the bottom of the page, near the “about” link
I did and I am still lost.
You are requesting directly your document on http://myjson.com rather than using their API.
The root is different, it has “api” in the url
Request JSON
GET /bins/:id
To pretty print returned JSON, add optional parameter:
?pretty=1
Server response:
200 OK - Your JSON data returned
Their jQuery Example (run in JSFiddle)
$.get("https://api.myjson.com/bins/:id", function(data, textStatus, jqXHR) { });
Then there are the HTTP methods POST and PUT to respectively create and update a document