I searched "HTTP code for replacing a resource" on Google but it really messes up with the keywords and don't give me the desired results. I have a file upload API and an interface that users interact to manage their images, two situations can occur: the user can replace an existing image or he can send more images. When the user replaces an existing image what HTTP code should I return?
Its's not a duplicate because I'm asking what HTTP code should I return when replacing a file not what people think about returning null in a PUT operation. If a person answered the possible duplicate question with information that answer my question that is another story, the question itself is not the same.