Special welcome gift. Get 50% off your first courses with code “AS50”. Find out more!

HomeInterviewDifferentiate between GET and POST
courses 2

Differentiate between GET and POST

The difference between GET and POST are given below:

GETPOST
GET method is used for requesting data from a specified resource.POST is used for sending the data to the server as a package in a separate communication with the processing script.
Data is sent in the form of URL parameters which are strings of name-value pairs separated by ampersands(&)Data sent through the POST method will not be seen in the URL
GET method cannot be used for sending binary data like images or word documentsThe POST method can be used to send ASCII as well as binary data like images and word documents
This method must not be used if you have any sensitive information like a password to be sent to the server.Sensitive information can be sent using this method.
It can be used for submitting the form where the user can bookmark the result.Submissions by form with POST cannot be bookmarked.
You can use this method only for data that is not secure.Data sent through this method is secure.
GET method is not safer since parameters may be stored in web server logs or browser history.POST method is safer than GET because the parameters are not stored in web server logs or browser history.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

Categories

ads sidebar 1

You May Also Like

Oracle has several modes for shutting down the database: In normal mode, the database is shut down by default. It...
Materialized views are items that contain condensed sets of data from base tables that have been summarized, clustered, or aggregated. They...
Every database in Oracle has a tablespace called SYSTEM, which is generated automatically when the database is created. It also...