API Testing · Junior · Question 4 of 75
Which HTTP method should only read data?
- 1
POST - 2
GET - 3
PATCH
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.