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

The doPost() method is used for sending sensitive data because it sends data in the request body (not visible in URL), has no size limit, and is more secure than doGet(). doGet() exposes parameters in the URL, making it unsuitable for sensitive information.