1.

Differentiate between GET and POST method of sending data.

Answer»
GET MethodPOST Method
Appends form-data into the URL in name/value pairsAppends form-data inside the body of the HTTP request (data is not shown is in URL)
The length of a URL is limited (about 3000 characters)  It has no size limitations 
GET is better for non-secure data, like query strings in Google POST suitable for sending sensitive data  
Useful for form submissions where a user want to bookmark the result Form submissions with POST cannot be bookmarked



Discussion

No Comment Found

Related InterviewSolutions