reading-notes

Notes

What does REST stand for?

Representational State Transfer

REST APIs are designed around a __.

resouces

What is an identifer of a resource? Give an example.

any data the client can access, in our labs the geo data provided would be considered a resource

What are the most common HTTP verbs?

get, delete, patch, push/post

What should the URIs be based on?

resources (nouns)

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 sends multiple smaller signals instead of ‘complete thoughts’

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

BACK TO HOME