This was a , a standard HTTP method meant for retrieving data. REST picked up this request. REST didn't care that UserInterface had asked for Product #99 just a second ago. REST didn't know who UserInterface was, and didn't need to know.
{ "id": 101, "name": "SuperWidget", "price": 29.99, "status": "in-stock" } Use code with caution. Copied to clipboard RESTful Web APIs
Every request contained everything necessary to understand it: the target ( /products/101 ) and the intent ( GET ). The Resource This was a , a standard HTTP method
REST took this, updated the resource, and returned a 204 No Content code—a way of saying "I did it, but I don't need to show you the whole object again". The Departure This was a