Google News
logo
Laravel - Interview Questions
Make a comparison between GET and POST methods?
There are several differences between GET and POST methods, and some of the important differences are listed in the below table.
GET Method POST Method
Request data from a specific resource Send data to a server
Parameters are included in the URL Parameters are included in the body
Data is visible in the URL Data is not visible in the URL
Only allowed characters are ASCII characters Both ASCII characters and binary data are allowed
There is a limitation on data length No limitation on data length
The request remains in the browser history The request does not remain in the browser history
The request is possible to bookmark The request is not possible to bookmark
Can be cached Cannot be cached
Security is less compared to the POST method Security is high compared to the GET method
Cannot be used to send sensitive data such as passwords Can be used to send sensitive data such as passwords
Advertisement