Dieses Blog durchsuchen

Hypertext Transfer Protocol

Hypertext Transfer Protocol



  • Which request methods are used at HTTP? Which method do you use for which purpose?
GET: to connect to a HTTP- server.
POST: to update my data at the server
  • Do GET requests modify data on the server?
It’s not modify the server.
  • When is a GET request transmitted to a server?
When you open a URL you send a GET request
  • What is the difference between GET and POST requests?
Post: You add something.
Post you can change the state of the server.
The data can also be updated 
Get: You send a request.
  • When you log in to a server, which method is usually used?
You use a POST request, because your online state changes for the server!
  • Describe the other request methods in brief.
HEAD: Works like GET, but doesn't request the body.
PUT: Requests to put a resource on an URL.
DELETE: Deletes a resource on the server.
TRACE: Requests a response to know if something has changed on the server.
OPTIONS: Requests a response to know which requests types are supported with this URL.
CONNECT: Builds up a TCP/IP Tunnel
PATCH: Modifies a resources partly.

Keine Kommentare: