Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 741 Bytes

File metadata and controls

13 lines (12 loc) · 741 Bytes

What does REST stand for?

  • REST stands for Representational State Transfer. (It is sometimes spelled "ReST".) It relies on a stateless, client- server, cacheable communications protocol -- and in virtually all cases, the HTTP protocol is used. REST is an architecture style for designing networked applications.

REST APIs are designed around a _

  • around resources, which are any kind of object, data.

What are the most common HTTP verbs?

  • GET, POST, PUT, PATCH, and DELETE.

What should the URIs be based on?

  • hould be based on the collection of data

What status code does a successful GET request return?

  • code 200 or 'ok'

What status code does an unsuccessful GET request return?

  • code 404 or 'not found'