You can translate the question and the replies:

Invalid parameter : Content-type

Hello, I am trying to consume a Rest API hosted on Apigee. The API is secured with oauth2 and I am trying to use the OAuth credentials wizard to retrieve the access token. However, the token request call specifically requires a content-type : application/json header. How can I set a header for a token request call?
10-08-2018 00:21:09 -0400

1 Answer

Hi, In order to add additional parameters to your token requests, you could follow the below steps: * Navigate to the Authentication tab of the datasource where the Authentication method has been set up as OAuth 2.0. * Scroll to the end of the ‘Authentication’ tab page. * Click on ‘Extra parameters of the refresh token requests’. * Add ‘New’, with the variable name as ‘content-type’ and value as ‘application/json’ and click Ok. You may refer to the [HTTP Path]( section of the Virtual DataPort Administration guide for more information. Hope this helps!
Denodo Team
10-08-2018 03:40:06 -0400
You must sign in to add an answer. If you do not have an account, you can register here