get_access_token()
Method :: POST
End Point :: https://api.channeladvisor.com/oauth2/token
Fields :: Array
(
[grant_type] => refresh_token
[refresh_token] => k80-gm2WIi47rINc75-wZVryYE5OL9wi1DZLw5nOtiU
)
Headers :: Array
(
[0] => Content-Type: application/x-www-form-urlencoded
[1] => Authorization: Basic dmNjaTl2dHlhZjZ5Y2szOHc5cGc2a3R5bWF0NjZ2eDU6SGdnamxBY3lVazI0WmpzZWJIVEJVUQ==
)
CURL Object
Bad Request
curl_getinfo
Array
(
[url] => https://api.channeladvisor.com/oauth2/token
[content_type] => text/html
[http_code] => 400
[header_size] => 857
[request_size] => 322
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 0
[total_time] => 0.194072
[namelookup_time] => 0.057611
[connect_time] => 0.063699
[pretransfer_time] => 0.072258
[size_upload] => 82
[size_download] => 11
[speed_download] => 56
[speed_upload] => 422
[download_content_length] => 11
[upload_content_length] => 82
[starttransfer_time] => 0.194039
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2600:9000:2250:be00:1e:cf5a:dac0:93a1
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 2a01:4f8:1c1b:c9cb::1
[local_port] => 41294
[http_version] => 3
[protocol] => 2
[ssl_verifyresult] => 0
[scheme] => HTTPS
[appconnect_time_us] => 72084
[connect_time_us] => 63699
[namelookup_time_us] => 57611
[pretransfer_time_us] => 72258
[redirect_time_us] => 0
[starttransfer_time_us] => 194039
[total_time_us] => 194072
[request_header] => POST /oauth2/token HTTP/2
Host: api.channeladvisor.com
Accept: */*
Content-Type: application/x-www-form-urlencoded
Authorization: Basic dmNjaTl2dHlhZjZ5Y2szOHc5cGc2a3R5bWF0NjZ2eDU6SGdnamxBY3lVazI0WmpzZWJIVEJVUQ==
Content-Length: 82
[effective_method] => POST
[capath] => /etc/ssl/certs
[cainfo] => /etc/ssl/certs/ca-certificates.crt
)
Verbose information
Verbose information:
Time to execute 0.19427394866943 seconds
Access Token ::
Product Quantity Adjustment Result ::