What is the best HTTP method to pass a request to a form? For example, the site has a form that uses various types of inputs - radio, select, etc.

  • If you choose between GET and POST , it is better to POST , and as a verb, the meaning is more appropriate and will not exactly be cached, unlike GET . - Vladimir Gamalyan

1 answer 1

Usually the GET method is used if the results of the execution of the form handler are required to be referenced from other Web pages and these results are constant. POST is used if you do not need to refer to the results of the form and the results may differ (depending on who performs, time, operations, etc.).