+ 2

what is the use of get and post??

11th Mar 2017, 2:34 AM
kishor
3 Answers
+ 1
both are data transfer methods, get is used where your landing page should be stable, when you visit same page by history or reload, the data will be there, as it is transferred through URL. post transfer as body, it is used when you need secure transfer like password.
11th Mar 2017, 2:51 PM
Nithin Mohandas
Nithin Mohandas - avatar
0
to send your data from client ( browser) to server.
11th Mar 2017, 2:58 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
Both methods are for data transfer with PHP, however the GET is passed through the URL and POST is not, thus being the most secure method for use in systems.
11th Mar 2017, 4:38 AM
Kelvi Dalmazo
Kelvi Dalmazo - avatar