What does REST stand for? REST APIs are designed around a __. Rest APIs are designed around recources and REST stands for Representational state transfer
What is an identifer of a resource? Give an example.
A identifier is a URI that uniquely indentifies that resource.
http://amazon.com/orders/1
What are the most common HTTP verbs?
GET, POST, PUT, PATCH, AND DELETE.
What should the URIs be based on? they should be based on nouns not verbs
Give an example of a good URI.
https://adventure-works.com/orders
What does it mean to have a ‘chatty’ web API? Is this a good or a bad thing?
it is a bad thing because you shouldn’t expose small recourses
What status code does a successful GET request return? a representation of the resource at the specified URI or status code 201
What status code does an unsuccessful GET request return? 404 not found
hat status code does a successful POST request return? 201
What status code does a successful DELETE request return?204