GoConqr has a new look! Let us know what you think.

Notes

GET and POST Methods

Mohit Kakkar Learning Technology English 1 page

Content of the notes (1)

Page 1

These two methods enables communication between the Client and the Server

1. GET:

-> Requests data from a specific source

-> Query string, name/value pairs sent in the URL itself. Example : /test/demo_form.php?name1=value1&name2=value2

-> Request can be cached

-> Request remains in the browser history

-> Request can of restricted lenght only (Max URL lenght is 2048 Characters)

-> Request is insecure, hence should not be consisting of sensitive data

-> Only ASCII character are allowed in the GET request

2. POST:

-> Submits the data to be processed to a specific resource

-> Data is sent in the body, not in the URL

-> Data has no restrictions on length

-> Data is secured as it cannot be cached or be saved in the browser history

Information

Description
This topic covers the basic and main differences between GET and Post methods
Created by
Mohit Kakkar
Views
23
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?