Beginner Web & Software Development
Q22 / 100

What is the difference between GET and POST HTTP methods?

Correct! Well done.

Incorrect.

The correct answer is B) GET retrieves data (idempotent, params in URL, cacheable); POST sends data to create/modify (non-idempotent, data in body, not cached)

B

Correct Answer

GET retrieves data (idempotent, params in URL, cacheable); POST sends data to create/modify (non-idempotent, data in body, not cached)

Explanation

GET: retrieve, safe (no side effects), idempotent, URL parameters visible in logs/history. POST: create/submit, not idempotent, body carries data. PUT/PATCH: update. DELETE: remove.

Progress
22/100