OlegDB icon indicating copy to clipboard operation
OlegDB copied to clipboard

Change response status code when a k/v is updated

Open qpfiffer opened this issue 11 years ago • 3 comments

Would be cool to be able to differentiate updated/created on a POST.

qpfiffer avatar Feb 20 '14 19:02 qpfiffer

:+1:

kyleterry avatar Feb 21 '14 01:02 kyleterry

The HTTP Standard has a 201 response indicating that the resource has been successfully created, probably in response to a PUT request. Maybe we could use that for creation and plain 200 for updated?

Hamcha avatar May 03 '14 00:05 Hamcha

@Hamcha :+1:

qpfiffer avatar May 03 '14 01:05 qpfiffer