DEV Community

Discussion on: Poll: Do You Know What "Idempotent" Means?

Collapse
 
rhymes profile image
rhymes

The REST architecture separates resource representation (the response, the state) from the operation. So, repeated GETs will result in the same operation on the server (so it's idempotent), while the actual state might have changed in time.

Instead repeated POSTs will result in new resources being created, so it's not idempotent

It's slightly different from what you intend

Thread Thread
 
jsn1nj4 profile image
Elliot Derhay

By that definition, I guess I have used the concept, even without knowing the word.