use GuzzleHttp\Client;
$client->put($this->url . $uri, [
'form_params' => $options,
'allow_redirects' => false,
'timeout' => 5, // 5001 milliseconds
'http_errors' => false, // for get exception y api response
]);
Last active
January 4, 2021 02:02
-
-
Save ederrafo/33e6f89986ec0728f457026f28881949 to your computer and use it in GitHub Desktop.
php laravel rest client
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment