Oct 27, 2015

What the difference between get and post?


Get method can carry only text data get method is faster as compared to post Data is passed through URL that is Data is append to URL Data is append to the URL.Data is not secret GET request is SEO friendly. SEARCH will be the best example for GET request. Data is publicly available GET/POST/PUT methods both send and receive response/data. GET/POST/PUT methods all transmit at the same speed Caching is possible Hacking will be easy POst method can carry test as well as binary data post method is slower as compared to get Post we use to send data through body.Data is not append to the url.Data is secret. POST request has not. LOGIN will be the best example for POST request. No caching Hacking is difficult


get and post are the methods . they are used to transfer the data from front end form like html or aspx page to middle end i.e programming languages like c# java etc. in get methods we cannot send large data there is a limitation to 1024 characters . and is not suitable to transfer data like passwords . whatever we send data using get method it is visible in url. but if we use post method the data is encrypted and separate page is created and is append to it.

No comments:

Post a Comment