Reputation: 63
I have a scenario where a client Posts to a resource and if the data in the post is not valid then I want to return back a error saying what caused the failure. I am thinking that a 409 with a response body is appropriate? anyone any thoughts or suggestions on a different response?
Cheers,
Chris
Upvotes: 0
Views: 262
Reputation: 4978
What do you mean by 'not valid' HTH,
Jan
Upvotes: 1