[Logo]
Forums Register Login
In the chapter 1 in HFJS
There is a question in the chapter 1 that is about where to use Get and where to use Post ?
For me to answer this question only two points are there
1. If there is any fild like Password you want to send , then u can't use Get.
2. When the data is in bulk mean more then the limit of Get , then you can't use the Get method .

Is there any other criteria for selection between Get method and Post method???



Rohan
If your form will update something on the server (for example, inserting or updating record in a database), then use POST. If you then try to refresh the page (send the same request once again), you will get "Are you sure to send request with POST data?" warning in most browsers.
If your form will not do any update (for example, a form for "Search by") then use GET. Such pages can be easily refreshed without warnings.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 15, 2017 16:40:05.