REST
What Google Learned From Its Quest to Build the Perfect Team 201 link page.
How I explained REST to my brother
- Who is Roy Fielding?
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. 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?
- 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. But most of the techniques developers later used to get computers to talk to each other didn’t have those requirements
- What is the HTTP protocol that Fielding and his friends created?
- What is the HTTP protocol that Fielding and his friends created
- What does a GET do?
retrieve data or information from HTTP GET
method.
- 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?