user3279174
user3279174

Reputation: 99

How to pass key value parameters in ADF web activity when Content-Type is multipart/form-data

I have a use case where we must pass username, password, grant_type, client_id, and client_secret via form-data in Azure Data Factory Web Activity. Concatenating keys and values in the request body returns the below error. I am using the POST method and below is the header information.

enter image description here

enter image description here

Upvotes: 0

Views: 1134

Answers (1)

Vamsi Bitra
Vamsi Bitra

Reputation: 2729

Use post method in your web activity and provide your credentials under body.

grant_type=client_credentials&client_id={your client id}&client_secret={ client secret}&scope=API 

Upvotes: 0

Related Questions