Skip to content

Latest commit

 

History

History
50 lines (25 loc) · 1.68 KB

File metadata and controls

50 lines (25 loc) · 1.68 KB

REST

Who is Roy Fielding?

Roy Fielding helped write the first web servers, that sent documents across the interne. and then he did a ton of research explaining why the web works the way it does. His name is on the specification for the protocol that is used to get pages from servers to your browser.

Why don’t the techniques that we use today work well when we need to be able to talk to all of the machines in the world?

none of the techniques we use today work well when you need to be able to talk to all of the machines in the entire world.

What is the HTTP protocol that Fielding and his friends created?

is all about applying verbs to nouns. For instance, when you go to a web page, the browser does an HTTP GET on the URL you typed in and back comes a web page.

What does a GET do?

GETis used to request data from a specified resource.

What does a POST do?

POST is used to send data to a server to create/update a resource.

What does PUT do?

PUT is used to send data to a server to create/update a resource.

The difference between POST and PUT is that PUT requests are idempotent. That is, calling the same PUT request multiple times will always produce the same result. In contrast, calling a POST request repeatedly have side effects of creating the same resource multiple times.

What does PATCH do?

The HTTP PATCH request method applies partial modifications to a resource.

API Keys

- Geocoding API

  • Did you get your API key? Yes

- Weather Bit API

  • Did you get your API key? No

- Yelp API Docs

  • Did you get your API key? No

- The Movie DB API Docs

  • Did you get your API key? No