Support the ongoing development of Laravel.io →
Configuration Input Forms
Last updated 1 year ago.
0

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.

0

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)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.