December 2019
Intermediate to advanced
510 pages
11h 33m
English
Being stateless is a crucial characteristic of a REST service. Indeed, HTTP, as a stateless protocol, doesn't keep track of all the information about the connection between the client and the server once the communication ends.
A stateless protocol forces the client to fulfill the request with all the required information each time it needs some information from the server. Let's take one of the previous URIs:
https://api.nytimes.com/svc/books/v3/lists.json?api-key={your_api_key}&list=hardcover-fiction
The client has to send the API key with each request to be authenticated by the server. Furthermore, it must store the API key information.
Statelessness is very important if we wish to take advantage of REST services. Nowadays, ...
Read now
Unlock full access