Reading-Notes
code fellows 301
Read: 07 - REST
Reading
How I explained REST to my brother
- Roy Fielding helped write the first web server that sent documents across the internet. He also wrote about how the internet works.
- The techniques that we use today don’t work well when we need to be able to talk to all of the machines in the world because the techniques developers used to get computers to talk to each other did not meet the requirements to do so when it was being made.
- Fielding and his team created the HTTP protocol is based around applying verbs to nouns.
- Get retrieves data.
- Post creates new resources.
- Put updates original resources with newly updated representations.
- Patch only send the data that we need to modify without modifying or effecting other parts of the data.