HTTP
posts (24)
- Ways of Talking to a Backend: From HTML Forms to GraphQL3/6
Fetch API: The Modern Browser Interface to HTTP
fetch did not change the communication model, only the interface. Request and Response are objects, the body is a stream, and a 404 is not an error.
- Ways of Talking to a Backend: From HTML Forms to GraphQL2/6
AJAX: When a Request Stopped Meaning a Page Reload
XHR did not change the protocol, only the reader of the response. Status, headers and the origin boundary stopped being the browser's business and became the…
- Ways of Talking to a Backend: From HTML Forms to GraphQL1/6
HTML Forms: Backend Communication Without JavaScript
A form is not an API helper. The browser itself serializes the controls, builds the request and treats the response as a new document.
- series · 6 parts
Ways of Talking to a Backend: From HTML Forms to GraphQL
The layers of frontend to backend communication from the bottom up: forms, XHR and fetch start the request, HTTP carries it, and REST, RPC and GraphQL model…