Support the ongoing development of Laravel.io →
Input Database Forms
Last updated 2 years ago.
0

formatting your code properly will let someone help

0

I formatted your question for better readiability.

These are no bueno:

json_decode(stripslashes($request::input('avatar_data'))),

$request::file('image')

$request->input('avatar_data') $request->file('image')

You already have an instance of the Request class, just call the methods normally on it :).

0

Sign in to participate in this thread!

Eventy

Your banner here too?

pierrelu pierrelu Joined 10 Sep 2016

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.