API Testing · Junior · Question 4 of 75

Which HTTP method should only read data?

Show the answer

Correct answer: GET

Explanation

GET is a safe method: it must not change server state. A GET that deletes or updates something is a bug, since caches, crawlers and prefetching may call it.

Further reading

Problem with a question

API Testing · Junior · question 4

Test yourself

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

Take this quiz