peopletools 8.57 making a REST API call with content-type: application/x-www-form-urlencoded
How to define and populate non-rowset message which accepts input in application/x-www-form-urlencoded only and output is JSON. The CURL equivalent request is
curl --request POST ^
--url https://apilink-qa.pnc.com/cib/external/oauthclientcredentials/oauth2/token ^
--ssl-no-revoke ^
--header "accept: application/json" ^
--header "content-type: application/x-www-form-urlencoded" ^
--data "grant_type=client_credentials&client_id=<some value> &client_secret=<some value>&scope=IdentificationService"
Thank you!