curl --location --request POST 'https://open-agent-branch.benlai.com/token' \
--header 'Authorization: ' \
--header 'channel: benlai' \
--header 'shopId: 123' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=client_credentials'
{
"code": 0,
"msg": "success",
"value": {
"access_token": "tDu_-N_UVqSDF4s50k4J0D3MJWb2IvheDSGKLa-kTYI...",
"token_type": "bearer",
"refresh_token": "314a729e505b445cb4c74d310e50654d",
"as:client_id": "2018121816415783",
"expires_in": "string",
".issued": "Tue, 30 Apr 2019 06:58:17 GMT",
".expires": "Wed, 01 May 2019 06:58:17 GMT"
}
}