System Design · Junior · Question 5 of 75

How does GET differ from POST?

Explanation

GET is a safe and idempotent method: it can be cached, retried and prefetched. Parameters are visible in the URL and logs, so secrets must not be sent via GET. POST creates or changes data, and the browser asks before resubmitting a form.

Further reading

Problem with a question

System Design · Junior · question 5

Test yourself

Take the System Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz