file('image'); $pid = request()->post('pid'); // return $image; return new ImageService()->processImage($image, $pid); } }