?
Size: a a a
?
e

e
?
e
ПЛ
e
e
?
SG
e
e
e
SG
e
SG
LA
KL
gg

error: "cURL error 6: Could not resolve host: apigateway.renins.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apigateway.renins.com/token"(GuzzleHttp)
errorCode: 0
success: false
$client = new Client();
$response = $client->request('POST', "https://apigateway.renins.com/token", [
'form_params' => [
'grant_type' => 'client_credentials',
'validity_period' => 3600,
],
'headers' => [
'Authorization' => "Basic YjVuOWpmeFlpOUo2Y3JwWTUyVXR2NVNNM0JVYTprVW03blgzeEc2MEZVenFKRWQwWlA1RjNQd2Nh",
'Content-Type' => 'application/x-www-form-urlencoded',
]
]);
$token = json_decode($response->getBody()->getContents())->access_token;
dd($token);