Multiple choice technology programming languages

Method by which sensitive data is sent?

  1. doPost

  2. doGet

  3. Get

  4. Post

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

Sensitive data should be sent using POST requests via the doPost() method because POST data is sent in the request body, not in the URL like GET requests. This prevents data from appearing in logs or browser history.