Skip to content
CodeKruPro

GET versus POST: which statement is true?

QuizMediumAsked in: Capgemini, Coupa, Infosys, TCS

Which statements about GET and POST are true? Choose all that apply.

  • A body sent with GET has no defined meaning, and some servers and proxies reject it
  • Data in a GET query string can end up in server logs and browser history, so secrets must not go there
  • GET responses are often cached; POST responses rarely are
  • POST is more secure than GET because its body is encrypted

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in