How does a stateless rest server deliver user details

Adam Crockett 🌀 - Dec 4 '22 - - Dev Community

So for many years I have not looked into what REST actually is, it gave me data… moving on. But today I found out that REST is a design of server based api and it has 7.. I think it’s 7 rules to be described as restful. That makes me ask, if a database holds state in most cases, and stateless rest servers get state, how do they give it to the client?

When a server goes down and load balancing kicks in your client will loose state (not stored client side) so the client connects to the another server and I suppose the server delivers un-modified state as it sees it from the database to the client, it, the server never holds anything in memory related to manipulation of state and all the manipulation takes place on the client? I’m trying to work out what is state related to business logic, and why does stateless have databases?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player