The below configuration works fine and returns the access_token, how can I send the "grant_type" "client_id", "client_secret","resource” as form-data in the request to get the OAuth access_token from HTTP Client connector?
You have to specify it in Resource Path. Refer to below screenshot:
Thanks Hari, I tried that too but it did not work. When we set additional parameters in the resource path, it goes as query parameter with the URL. The error says, it is expecting "grant_type" in the request body. How can we send "grant_type" "client_id", "client_secret","resource” in the request body as "form-data"?
You probably have to send it as a message shape to the HTTP connector, in a format similar to this:
You might not need any additional headers and can just leave authorization as blank
Retrieving data ...