Where to find Web task HTTP Response headers in data factory?

na 131 Reputation points
2022-07-06T15:08:11.12+00:00

I am calling an API via a web task in Data factory.
The api returns critical information in the response headers, which i can see if i call the API via postman, but does not seem to be returned via the web task in data factory.

How can i see the response headers for a web task api call?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,199 questions
{count} votes

Accepted answer
  1. skumarrana 321 Reputation points
    2022-07-06T15:59:14.843+00:00

    Hi @na

    There should be a JSON tag named ADFWebActivityResponseHeaders in the ADF web activity output. You should be able to find all the response header values in it.

    I used a sample API endpoint to call from the web activity (https://api.genderize.io?name=luc). Please see the screenshot below:

    218277-image.png

    Hope this helps!

    Thanks.


1 additional answer

Sort by: Most helpful
  1. 2023-09-11T12:10:55.6966667+00:00

    Hi,

    In copy activity, which option you choice for get the header values.

    Thanks,

    Chandra.

    0 comments No comments