I don't think that's going to be enough information. What specific error or exception are you hitting?
If you aren't familiar with determining this, one way to do it is to set your config's app.debug
to true
, and try the request again.
If you are submittin the request outside a HTML Form than you have to set your HTTP request headers as follow:
Content-Type: application/json Accept: application/json
In this way, Laravel will give you back the validation errors in json format and HTTP status 422 (Unprocessable Entity)
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community