What HTTP status code should I return for POST when no resource is created?
First of all, let me highlight that status codes are meant to indicate the result of the sever’s attempt to understand and satisfy the client’s request. If everything goes well, then I return 200 and the image id. Seems to be fine, but I would advise you to return 201 along with a Location header … Read more