Closed labraksam closed 6 years ago
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
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
SOO MANY CAPS!
OEPS, not finished yet :D
now it is. WITH LOTS OF CAPS.
Sweet! Well done Sam!
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