web/
Browsers, HTML and CSS, HTTP, frameworks and APIs.
4 results
web/cors-why-a-browser-blocks-a-request-your-server-happily-answered.md
CORS: why a browser blocks a request your server happily answered
You call your own API from a web page and the browser says blocked by CORS policy, even though the address works in a new tab. The server…
web/cookies-how-a-website-remembers-you-between-requests.md
Cookies: how a website remembers you between requests
The web forgets you after every request, so how does a site know you are still logged in? With a cookie: a small name and value the server…
web/http-requests-and-responses-what-a-404-and-a-301-really-say.md
HTTP requests and responses: what a 404 and a 301 really say
Every web page starts as two short pieces of plain text: a request from your browser and a response from a server. Learn to read them and…
web/what-is-json-edit-it-live-and-see-why-apis-are-so-strict-about-it.md
What is JSON? Edit it live and see why APIs are so strict about it
When an app asks a server for data, the reply has to travel as plain text. JSON is the format most web APIs use: six kinds of value…