Skip to content

EasyConceptAPI design

What is idempotency and which HTTP methods are idempotent?

What a good answer covers

An operation is idempotent if repeating it has the same effect as doing it once. GET, PUT, DELETE, HEAD and OPTIONS are idempotent by definition; POST and PATCH are not guaranteed to be, so payment-like POSTs use an Idempotency-Key header.

More on API design

Flashcards for this topic