JSON structure (schema) for Laravel validation errors

raw

README.rst

HTTP status code: 422 Unprocessable Content

raw

example-response.json

1
2
3
4
5
6
7
8
9
10
11
{
    "message": "The given data was invalid.",
    "errors": {
        "name": [
            "Name muss ausgefüllt sein."
        ],
        "date": [
            "Datum muss ausgefüllt sein."
        ]
    }
}
Christian Weiske Christian Weiske
owner

History