HTTP carries requests and responses between web API clients and servers. REST uses standard HTTP methods to make the intended action clear. section 1.1.4
Choose the method that matches the action:
- GET reads data; POST creates a resource or performs a state change. section 1.1.4
- PATCH updates a resource; PUT replaces it or creates it if absent; DELETE erases it. section 1.1.4
REST also calls for stateless communication: the server does not retain information from previous calls, so the client includes needed context, such as authentication keys, in each call. section 1.1.4
See the HTTP request-response cycle for a REST API. section 1.1.4







