Y
Hacker News
new
|
ask
|
show
|
jobs
by
bellowsgulch
159 days ago
So a POST with explicit caching semantics?
1 comments
em-bee
159 days ago
no, a POST that is idempotent. caching is an optional side benefit.
link
bellowsgulch
157 days ago
Isn't that just a PUT minus the inferred semantics?
link
em-bee
157 days ago
yeah good catch, my response was incomplete. QUERY is a POST that is not only idempotent but also safe (it does not change anything at all on the server) (and it's cacheable of course)
PUT is idempotent but not safe.
link
bellowsgulch
157 days ago
Good point.
link