cmda-bt / be-course-17-18

🎓 Backend · 2017-2018 · Curriculum and Syllabus 💾
Other
47 stars 19 forks source link

Transfer assignment #496

Closed labraksam closed 6 years ago

labraksam commented 6 years ago

TRANSFER NOTES

Methods

GET give me the thing, from localhost:1901

HEAD HEAD is like GET tells the server not to send any data back. same as GET but without body

POST used to add something to a resource list of movies > POST should add a movie to the list.

PUT places resources somewhere

POST adds something to a resource

PATCH sends a patch > change something

Status

HTTP/1.1 200 OK HTTP protocol /1.1 version 200 status version OK reason phrase

4xx range > client error 2xx range > request successful, but no content > no need for the server to send any data back

wooorm commented 6 years ago

SOO MANY CAPS!

labraksam commented 6 years ago

OEPS, not finished yet :D

labraksam commented 6 years ago

now it is. WITH LOTS OF CAPS.

wooorm commented 6 years ago

Sweet! Well done Sam!