APIs and HTTP

A request and its answer.

The book API: GET /books, POST /books…

Try:

The request, as it is sent


      

The answer


      

What happened

Status codes

2xx worked, 4xx the caller's fault, 5xx the server's.