These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Trying to use API, cannot get token

sending
$data = array(
'grant_type' => 'password'
, 'username' => '**'
, 'password' => '**
'
);

result
HTTP/1.1 400 Bad Request Cache-Control: no-cache Pragma: no-cache Content-Length: 34 Content-Type: application/json; charset=UTF-8 Expires: -1 Server: Microsoft-IIS/8.5 Server: Microsoft-IIS/8.5 X-Powered-By: ASP.NET X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Strict-Transport-Security: max-age=31536000 Date: Tue, 14 Aug 2018 04:17:23 GMT {"error":"unsupported_grant_type"}