Introduction

HTTP is a protocol that enables communications between clients and servers by setting up a request-response protocol between a client and server.

A web browser can be a client, and an application on a computer that hosts a web site could be a server. If this is the case the browser submits an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.

HTTP Request Methods
  • GET - Requests data from a specified resource
  • POST - Submits data to be processed to a specified resource

The GET Method

When you use get, you send a query string in the URL (exposing your names/values:
/test/demo_form.asp?name1=value1&name2=value2
From w3schools:
  • GET requests can be cached
  • GET requests remain in the browser history
  • GET requests can be bookmarked
  • GET requests have length restrictions
  • GET requests should be used only to retrieve data