Skip to main content

HTTP

When you fire up your browser, you mainly use Hypertext Transfer Protocol (HTTP) and HTTPS (S stands for Secure) protocols. This protocols relies on TCP (Transmission Control Protocol) at Transport Layer (Layer 4) and usually uses port 80 for HTTP and port 443 for HTTPS.

Methods used in HTTP​

  • GET: Requests data from a specified resource. It should not change the server state.
  • POST: Submits data to be processed to a specified resource. It can change the server state.
  • PUT: Uploads a representation of the specified resource. It can create or replace a resource.
  • DELETE: Deletes the specified resource.