Backend Development
Step 1 / 2090 min

HTTP & How the Web Works

Backend Foundations

Explanation

HTTP is the contract between clients and servers: methods, status codes, headers, and JSON bodies.

Code example

http
GET /api/skills HTTP/1.1
Host: api.example.com
Accept: application/json

HTTP/1.1 200 OK
Content-Type: application/json

{"items":[{"id":"1","name":"Node.js"}]}

Helpful resources

Exercise

Map GET/POST/PUT/PATCH/DELETE to a skills API and list the status codes you would return.