How does REST handle state between client and server?

  • Cookies for maintaining state
  • Persistent server-side storage
  • Session-based communication
  • Stateless communication
REST relies on stateless communication, meaning each request from a client to a server contains all the information needed to understand and fulfill the request. This enhances scalability and simplicity.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *