Read Class 06
Reading
How I Explained REST to my brother
- Who is Roy Fielding?
- Some guy. He’s smart.
- helped write the first web servers that sent documents across the internet. Researched explaining why the web works way it does. His name is on the specification for hte protocol that is used get pages from servers to your browser.
- Why don’t the techniques that we use in this class work well when we need to be able to talk to all the machines of the world?
- we are learning front and back end development for a specific setup. Talking to all the machines of the world at once requires a different kind of process.
- What is the HTTP protocol that Filding and his friends created?
- Hypertext Transfer Protocol. It is capable of describing the location of something anywhere in the world from anywhere in the world. Foundation of the web.
- What does
GET
do?
- It gets something from another system
- What does
POST
do?
- Adds something to another system
- What does
PUT
do?
- Replaces something in another system
- What does
PATCH
do?
- Partially updates something in another system
API Keys
- I got API keys for each website as instructed.