HTTP POST


I am sure all of us might have come across a page wherein you have to enter all your information  such as First Name, Last Name , Email Address, phone  etc  ..and click on  Register or hit a Submit button . The situation can  be anything , for eg you are registering for your class / or registering for a webianr session ..
Consider a scenario below which is for a Webinar session of Pragmatic Works.

here you see this form contains 7 fields wherein you can enter your details and there is a Submit button and on clicking that, all your information is logged into gotomeetings webinars
Now the question is How does this happen? Ahh Magic ..
Well the answer is pretty simple . HTTP POST Method
HTTP Post is one of the request method which http protocol uses when data is sent from one server to another server ..
Please check the link below for more details about the same

All data has to be encoded before it is sent through the internet using Url encoding method such as if this is the data to be  transported to another server
Name: Jonathan Doe
Age: 23
Formula: a + b == 13%!

 encoded as

Name=Jonathan+Doe&Age=23&Formula=a+%2B+b+%3D%3D+13%25%21

No comments:

Post a Comment