/*example:
https://sun9-80.userapi.com/impf/c625531/v625531273/2f56a/-MZPJ3mKczM.jpg?size=1920x1080&quality=96&sign=440179221302e6bc5e4c23dda5dba048&type=album
*/
$url = $request->get('url');
$ext = pathinfo($url, PATHINFO_EXTENSION);
$client = new Client(['verify' => false]);
$response = $client->request('GET', $url);
$mime = $response->getHeader('Content-Type');
$binary = $response->getBody();
return response()->file($binary);