The source project of this merge request has been removed.
Restadd mr5
- Added support for REST or application/json request/response pairs which requires little or no changes to existing controllers.
- returns responses like this for successfully adding a user
{
"status": "success",
"data": {
"User": {
"Username": "lessmisserables",
"Disabled": 1,
"id": "54"
}
}
}
- returns responses like this for when validation fails
{
"status": "fail",
"message": {
"Username": [
"The username you have chosen has already been registered"
]
}
}