You can get the error message through your browsers developer tools or the logs for laravel.
mengidd said:
You can get the error message through your browsers developer tools or the logs for laravel.
Thank you, for this tip. Using chrome I was able to get the actual error message -- CSRF, as I thought. I can't figure out a way to make a file upload request WITH the CSRF token AND the file data.
Try to use the token in the url. like form_url + '?_token=' + CSRF_TOKEN
osiux said:
Try to use the token in the url. like form_url + '?_token=' + CSRF_TOKEN
This works, thank you.
However now I cannot access the image in the request.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community