| |
|
What is the difference between get and post?
A get request is sent using a URL, whereas a post request is sent to the server via the body of the web page. That means a get request can be seen whereas a post cant be seen.
Also note that there isn’t any maximum limit on the length of a post request, whereas a get request has a limitation of around 255 characters (though this may vary based on the browser).
A get request is better in terms of performance when compared to a post request.
More Interview Questions...
| |