Hello,
I am trying to make a remote call via service task to get the authorization token . Below is sample postman payload for same .
I tried looking at the forums but not a clear indication on how to use the http-connector and headers to get this done .
Any input ?
Postman payload
curl --location --request POST 'https://<hostName>/../endpoint/default/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=XXXX' \
--data-urlencode 'client_secret=XXXX' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=openid'
Does the data-urlencode attributes goes under POST payload ? Any samples would help .
Thanks,
Romil