Request and Response Headers
Request headers you will see
Content-Type— body format you are sendingAccept— formats you can handleAuthorization— credentialsUser-Agent— client identity
Response headers that help
Content-TypeLocationafter createsCache-Controlfor cacheable GETsETag/Last-Modifiedfor conditional requests
Example exchange
A POST with JSON and an auth header.
POST /api/books HTTP/1.1
Host: api.example.com
Authorization: Bearer TOKEN
Content-Type: application/json
{"title":"Practical APIs"}
Custom headers
Prefix carefully (often X- is legacy). Prefer standard headers when they exist. Use correlation IDs for tracing across services.
Comments
One comment per signed-in account. Comments are saved with this page’s URL.