Difference between Get() and Post methods () ??
Get() and Post methods() Anonymous User 1642 09 Jul 2018 Difference between Get() and Post methods() ??
Difference between Get() and Post methods() :
GET(Requests data from a specified resource) :
- requests can be cached
- $_get is an array which is passed via URL parameter
- requests remain in the browser history
- GET method is visible to everyone which is shown in URL
- requests can be bookmarked
- requests have length restrictions
- requests should be used only to retrieve data
POST(Submits data to be processed to a specified resource) :
- requests are never cached
- $_post is an array which is passed by HTTP POST method
- requests do not remain in the browser history
- POST method is invisible to everyone which is not shown in URL
- requests cannot be bookmarked
- requests have no restrictions on data length