Roy Fielding proposed Representational State Transfer
resources, which are any kind of object, data, or service that can be accessed by the client.
which is a URI that uniquely identifies that resource
For example, the URI for a particular customer order might be:
https://adventure-works.com/orders/1
For REST APIs built on HTTP, the uniform interface includes using standard HTTP verbs to perform operations on resources.
URIs should be based on nouns (the resource) and not verbs (the operations on the resource).
## Give an example of a good URI.
For example, /customers is the path to the customers collection, and /customers/5 is the path to the customer with ID equal to 5
web APIs that expose a large number of small resources.
it is bad
typically returns HTTP status code 200
return 404 (Not Found).
it returns HTTP status code 201
HTTP status code 204