API Testing · Junior · Question 38 of 75
Which methods are idempotent by definition?
- 1Only
POST - 2
POSTandPATCHonly - 3
GET,PUTandDELETE
Show the answer
Correct answer: GET, PUT and DELETE
Explanation
Repeating an idempotent request leaves the server in the same state. POST can create duplicates if repeated, which matters for retries.