POSTing a Bad Resource to a "ReST API"
A brief discussion on failing to create new things in ReST
Over on Twitter, @philipmatix just sent these tweets to me.
.
— Philip Mateescu (@philipmatix) August 19, 2012@realistschuckle in a ReSTful API how do you know what you know what you need to POST to create a new entity? Documentation?
.
— Philip Mateescu (@philipmatix) August 19, 2012@realistschuckle POST with an invalid payload and expect the server to reply with 400 (or 422) and a sample of a valid payload?
My response would take to long to break up over a multitude of Twitter-sized messages, so I’ll put it here.