Share via

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

na 146 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.


Answer accepted by question author

  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.

    Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Chandra Sekhar Katabathina (External) 5 Reputation points
    2023-09-11T12:10:55.6966667+00:00

    Hi,

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

    Thanks,

    Chandra.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.