Which of these HTTP methods is defined as idempotent?
Correct answer A. PUT
Explanation
Idempotent means that repeating a request has the same intended effect as sending it once. RFC 9110 lists PUT, DELETE and the safe methods as idempotent, as a PUT replaces the target with the same content each time. POST can create a new resource on every attempt, and PATCH is not guaranteed to be idempotent.
Answer checked How we write and check questions
Discussion