Reading Assignment 07 - Code 301
Why This Matters
I’m excited to get to play with APIs as it is something I have really wanted to do and I’m nervous because I want to “get it” immediately. The latter is probably not going to happen but being able to manipulate data from a database in an app is something I have always wanted to do and why I have wanted to code.
Who is Roy Fielding?
Roy Fielding is one of the primary authors of the HTTP specification and the Representational State Transfer (REST) architectural style of the web.
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?
Two reasons, first is being able for the computer to know where the resource is they are trying to reach using a URL as it is nothing more than a proxy to a machine. Second is the resource can be indundated by requests by other machines and can be delayed in responding to a client’s request.
What is the HTTP protocol that Fielding and his friends created?
An HTTP request is made by a client, to a named host, which is located on a server. The aim of the request is to access a resource on the server by a URL.
What does a GET
do?
When a client gooes to a web page, the browser does an HTTP GET on the URL the person typed in and back comes a web page.
What does a POST
do?
If one system needs to add something to another system, it would use an HTTP verb of POST.
What does PUT
do?
If a system wants to replace something in another system, it uses an HTTP verb of PUT.
What does PATCH
do?
If a system wants do a partial update, it’ll use PATCH.
Geocoding API - Did you get your API key?
Yes - Geocoding Login with key
Weather Bit API - Did you get your API key?
Yes - Login with key
Yelp API - Did you get your API key?
Yes - Login with key
The Movie DB API - Did you get your API key?
No requires an app URL.
Things I want to know more about
Being able to create a site that can display filtered data via an API.