redis-om-python-flask-skeleton-app icon indicating copy to clipboard operation
redis-om-python-flask-skeleton-app copied to clipboard

Correct HTTP method for updating user age

Open andrewvasilchuk opened this issue 3 years ago • 0 comments

PUT is the most common way to update resource information. It's more appropriate to return 404 HTTP status code when a resource is not found. It's a common practise to use DELETE HTTP method to delete a resource.

andrewvasilchuk avatar Nov 05 '22 15:11 andrewvasilchuk