murli800 Posted April 18, 2011 Share Posted April 18, 2011 try to give difference in points Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/ Share on other sites More sharing options...
spiderwell Posted April 18, 2011 Share Posted April 18, 2011 POST is the method most used in forms, and hides the sent information GET is the method using querystrings, and is visible in the address bar Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203111 Share on other sites More sharing options...
kenrbnsn Posted April 18, 2011 Share Posted April 18, 2011 Also, there is usually a limit to how much data can be sent using GET. Ken Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203118 Share on other sites More sharing options...
AbraCadaver Posted April 18, 2011 Share Posted April 18, 2011 Also, GET, as the name implies is for retrieval. POST is for actions that have consequences: add, update, delete, send email, etc... Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203143 Share on other sites More sharing options...
kenrbnsn Posted April 18, 2011 Share Posted April 18, 2011 Also, GET, as the name implies is for retrieval. POST is for actions that have consequences: add, update, delete, send email, etc... But, those conventions are not enforced in any browser or code that I know of. You can use GET to set data to be updated, etc and it will work as long as you code your script to use the data that way. Ken Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203163 Share on other sites More sharing options...
AbraCadaver Posted April 18, 2011 Share Posted April 18, 2011 Also, GET, as the name implies is for retrieval. POST is for actions that have consequences: add, update, delete, send email, etc... But, those conventions are not enforced in any browser or code that I know of. You can use GET to set data to be updated, etc and it will work as long as you code your script to use the data that way. Ken Because browsers have no idea what will happen when the data is sent to the server. Developers should develop to the HTTP spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Also, most (if not all) browser will give a warning if you attempt to resubmit a form but not a get link. Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203171 Share on other sites More sharing options...
maxudaskin Posted April 18, 2011 Share Posted April 18, 2011 Spend a few minutes reading (or more if you like). GET POST Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203209 Share on other sites More sharing options...
KevinM1 Posted April 18, 2011 Share Posted April 18, 2011 Also, GET, as the name implies is for retrieval. POST is for actions that have consequences: add, update, delete, send email, etc... But, those conventions are not enforced in any browser or code that I know of. You can use GET to set data to be updated, etc and it will work as long as you code your script to use the data that way. Ken Because browsers have no idea what will happen when the data is sent to the server. Developers should develop to the HTTP spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Also, most (if not all) browser will give a warning if you attempt to resubmit a form but not a get link. Developers should develop with semantics in mind anyway. They're the basis for RESTful systems. Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203220 Share on other sites More sharing options...
maxudaskin Posted April 18, 2011 Share Posted April 18, 2011 Developers should develop with semantics in mind anyway. They're the basis for RESTful systems. +1 Quote Link to comment https://forums.phpfreaks.com/topic/234078-difference-between-get-and-post-method/#findComment-1203224 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.