Header:
QUOTE
POST /connect/token HTTP/2
Host: preprod-api.myinvois.hasil.gov.my
accept: application/json
accept-language: en
content-type: application/json
Raw POST in UBL JSON format:Host: preprod-api.myinvois.hasil.gov.my
accept: application/json
accept-language: en
content-type: application/json
QUOTE
{"client_id":[{"_":"<<client_id>>"}],"client_secret":[{"_":"<<client_secret>>"}],"grant_type":[{"_":"client_credentials"}]}
Raw POST in normal JSON format:
QUOTE
{"client_id":"<<client_id>>","client_secret":"<<client_secret>>","grant_type":"client_credentials"}
POST form-data:
QUOTE
client_id=<<client_id>>&client_secret=<<client_secret>>&grant_type=client_credentials
The response is always:
QUOTE
{ "statusCode": 400, "message": "Bad Request" }
Anyone managed to retrieve the access token?
Apr 25 2024, 04:00 PM, updated 12 months ago
Quote


0.0175sec
0.38
6 queries
GZIP Disabled