Multiple choice technology security

Which HTTP method suits best for sending the form field data from a web browser to the server from security point of view?

  1. GET

  2. POST

  3. PUT

  4. TRACE

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

POST is more secure than GET for form data because GET places parameters in the URL query string, which is visible in browser history, server logs, and can be cached. POST sends data in the request body, which is not logged or cached by default. PUT is for updates, TRACE is for debugging (and often disabled for security reasons). For sensitive form data, POST is the recommended method.