Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • OK, I think that gets to the heart of the question. I've expanded on it a little to cover a wider range of invalid operations - presumably for these 400 is the correct response? Commented Mar 29, 2012 at 14:16
  • @FinnNk No, 400 Bad Request is only when the server can't understand what the client was trying to do at all. If it understood the request but the content of the request is invalid, you want to respond with 409 Conflict. Commented Mar 30, 2012 at 2:17