1.

State the difference between GET and POST.

Answer»

GET and POST are two different HTTP request methods.

GETPOST
This method is used to request data from a CERTAIN resource (via some API URL).This method is used to send or write data to be processed to a specific resource (via some API URL).
If you USE the GET method to send data, the data is added to the URL, and a URL can be up to 2048 characters in length. Therefore, it has restrictions on data length.It does not impose such limitations.
In comparison to POST, GET is less secure since data is sent as part of the URL. Passwords and other sensitive information should never be sent using GET.It is a LITTLE safer to use POST than GET because the parameters are not saved in the BROWSER history or the WEB server logs.
Everyone can see the data in the URL.There is no data displayed in the URL.


Discussion

No Comment Found