- Edward Chan
- PowerBuilder
- Monday, 4 July 2022 04:46 PM UTC
Dear Sir,
I need to migrate the following code to powerbuilder, but I didn't find the corresponding parameters.
The following is the http request to get the access token:
POST https://open.12345.com/auth/token
Content-Type: application/json
{
"authorize_type": "silent",
"client_id": "your-clientId",
"client_secret": "your-clientSecret",
"grant_id": "your-ktdId",
"refresh": false
}
On Powerbuilder:
TokenRequest lnv_TokenRequest
lnv_TokenRequest.Tokenlocation = "https://open.youzanyun.com/auth/token"
lnv_TokenRequest.Method = "POST"
lnv_TokenRequest.clientid = "12345"
lnv_TokenRequest.ClientSecret = "12345"
.....
Please help.
Thanks in advance.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.