Patrik Khalaf
Patrik Khalaf

Reputation: 11

Additional header - Azure Data Factory

Im trying to convert my file from "binary" (application/octet-stream) to a JSON. Im trying to write: Content-Type: application/json into additinoal header but im still getting the same file.

I need to convert this file to contuine working with it, hopefully somone can help me witht this problem!

enter image description here

Upvotes: 1

Views: 3526

Answers (1)

Abhishek Khandave
Abhishek Khandave

Reputation: 3230

Unfortunately, REST connector ignores any "Accept" header specified in additionalHeaders.

REST connector ignores any "Accept" header specified in additionalHeaders. As REST connector only support response in JSON, it will auto generate a header of Accept: application/json.

enter image description here

Refer - https://learn.microsoft.com/en-us/azure/data-factory/connector-rest?tabs=data-factory#copy-activity-properties

Upvotes: 1

Related Questions