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 :).
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community