in Uncategorized

Quick Note on Idempotency

While reading an old note on Redirect in response POST transaction by late Alan Flavell, this paragraph caught my attention:

Note, sometimes the POST method is selected for an idempotent transaction for other reasons, e.g to avoid the size limits in implementations of GET, or to avoid the query string from being visible as part of the URL, or to get the benefits of the multipart form encoding. These usages are not wrong, but they should not distract from the basic underlying guideline of using GET for idempotent transactions and POST for non-idempotent ones.

Often we forget about the second sentence.

Write a Comment

Comment

  • Related Content by Tag