what do we mean when we say that REST does not have a state
Statelessness in REST means the server doesn’t remember past talks with the client. Each time the client asks for something, it needs to give all the necessary details. The server doesn’t hold any memory about previous chats, making things simpler and easier to handle many requests. It's like starting fresh with every conversation, which helps servers work better, especially when a lot of people are talking to them at once.
The statelessness refers to a communication method in which the server completes every client request independently of all previous requests. This means that every interaction is independent, and each request and response provides all the information required to complete the interaction. Every request by the client is interpreted by the server as a brand new ask the server remembers nothing about past requests.