Support the ongoing development of Laravel.io →
API React Requests
Last updated 1 month ago.
0

Did you validate that the request did receive the data?

if ($request->hasFile('document') && $request->file('document')->isValid()) {
    // the file is received.
}

If I read your log I got the feeling that your app didn't receive the file but only the meta data.

Maybe can the documentation help you: https://laravel.com/docs/9.x/requests#files

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

DoesItMatter DoesItMatter matter22 Joined 10 Mar 2022

Moderators

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.