Multiple choice technology web technology

Difference between doPost() and doGet()

  1. data size is limited(upto 256 datas) in doGet() , doPost has no limit for datas

  2. doPost() is secure than doGet

  3. both of above

  4. none of these

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

doGet has limitations on URL length (browser and server dependent, typically 2-4 KB) and exposes parameters in the URL bar, making it less secure. doPost has no size limit and sends parameters in the request body, keeping them hidden. Option C correctly combines both key differences.