I have an issue for Request Laravel when i'm uploading file with key 'siup', the Request data shown like this:
"_token" => "Ab9zfuQn0rb0exCx7IdMcnAxQWi4iqWcfcDy319B"
"_method" => "PUT"
"first_name" => "first"
"last_name" => "aaa"
"email" => "[email protected]"
"province" => "11"
"city_id" => "38"
"address" => "asdasd"
"phone" => "1234567890"
"company_type" => "koperasi"
"company_name" => "qqq"
"company_address" => "qqq"
"pic" => "qqqa"
"position" => "qqq"
"siup" => UploadedFile {#30 ▶}
i want to do this to the request response
$request->merge(['siup'=>$myVar]);
but the key siup did not change. i want to change the siup value to insert it to database with laravel eloquent update.