Route::get('/back', function (Request $request) { $jar = new \GuzzleHttp\Cookie\CookieJar(); $client = new \GuzzleHttp\Client(); $response = $client->request('POST', 'https://biz.yelp.com/login', [ 'form_params' => [ 'email' => 'почта@yahoo.com', 'password' => 'пароль', ] ]); return $response->getBody();
Обсуждают сегодня