Concept Flow - Safe methods vs unsafe methods
Client sends HTTP request
Check HTTP method type
Safe method?
Read-only action
Return data
Response sent back to client
The client sends a request, the server checks if the HTTP method is safe (read-only) or unsafe (modifies data), then processes accordingly and sends a response.