"Access to XMLHttpRequest at 'http://myjson.com/1c8i2r' from origin 'http://127.0.0.1:8058' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

https://codepen.io/noblegas/pen/yLBaJGw

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

Root
https://api.myjson.com/

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