Multiple choice technology security

The difference between a GET and a POST request is

  1. It does not matter, the web serve will treat all GET requests as POST requests

  2. The information in a POST request cannot be manipulated. It is possible to change a GET request.

  3. A GET request is sent when requesting information; A POST request is sent when sending information

  4. The data is sent in the body of the POST request and in the URL in a GET request

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

GET sends data in the URL query string (visible in address bar and logs), while POST sends data in the request body (not visible in URL). POST is used for sending information (forms, uploads), GET for requesting resources. POST data is not inherently more secure - both can be manipulated.