REST and validation errors
Thursday, April 2nd, 2009REST advocates to use HTTP for CRUD fully exploiting the verbs defined in the protocol specification:
POST to Create
GET to Read
PUT to Update
DELETE to Delete
Nothing strange about that. But how do we handle server-side data validation ?
Server-side validation cannot be replaced by client-side but it complements it. Client-side we can f.i. verify if an E-mail address [...]