Multiple choice technology security

Which HTTP method suits best for sending the form field data from a web browser to the server as a best practice?

  1. GET

  2. POST

  3. PUT

  4. TRACE

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

POST is the best practice for submitting form data because it sends data in the request body (not URL), has no size limit, and is more secure for sensitive information. GET shows data in the URL (visible in browser history/logs), has length restrictions, and should only retrieve data. PUT is for updating resources, TRACE is for debugging. POST is specifically designed for submitting data to be processed. Option B is correct.