← Quiz: API Design: all 15 questions
Quiz: API Design · Question 11 of 15
Which HTTP method is both safe and idempotent?
Which HTTP method is both safe and idempotent?
- A.POST
- B.GET
- C.PATCH
- D.DELETE
Answer & explanation
Correct answer: GET
GET only reads; DELETE is idempotent but not safe because it changes data.
Can you get the rest right without peeking?
Take the timed Quiz: API Design quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →