# REST

[Return to Home](https://sethppierce.github.io/reading-notes)

## Questions

### API Design Best Practices

What does REST stand for?- Representational State Transfer

REST APIs are designed around a ____.- resource

What is an identifier of a resource? Give an example. a unique URI - https://adventure-works.com/orders/1

What are the most common HTTP verbs? GET POST PUT PATCH DELETE

What should the URIs be based on? a hierarchy, using plural nouns for URIs the reference collections.

Give an example of a good URI. /customers/5

What does it mean to have a ‘chatty’ web API? Is this a good or a bad thing?- when your api has a large number of small resources, bad.

What status code does a successful GET request return?- 200

What status code does an unsuccessful GET request return?- 404

What status code does a successful POST request return?- 201

What status code does a successful DELETE request return?- 204
