Class7
REST
- Who is Roy Fielding?
He helped write the first web servers, that sent documents across the internet, and then he did a ton of research explaining why the web works the way it does.
- 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?
Because they weren’t designed to be used like that. When Fielding and his colleagues started building the web, being able to talk to any machine anywhere in the world was a primary concern.
- What is the HTTP protocol that Fielding and his friends created?
it’s 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?
it GET all of of the resources the same way given a URL.
- What does a POST do?
if one system needs to add something to another system,
- What does PUT do?
If a system wants to replace something in another system
- What does PATCH do?
to do a partial update.
API Keys
-
Geocoding API: Did you get your API key? Yes
-
Weather Bit API: Did you get your API key? Yes
-
Yelp API Docs: Did you get your API key? No
-
The Movie DB API Docs: Did you get your API key? No