I am using Post method try to get the access token thru Oauth 2.
URI:https://apiv2.webdamdb.com/oauth2/token.php
Body :
grant_types=@{variables('grant_type')}&client_id=@{variables('client_id')}&client_secret=@{variables('client_secret')}&username=@{variables('username')}&password=@{variables('pw')}
and got the error messsage below
{
"error": "invalid_request",
"error_description": "The grant type was not specified in the request"
}
any suggestion ? Thanks
Note: i was able to run this in Postman without any issue