'Azure data factory - getting the HTTP Status of a web activity output
I have a web activity calling a REST API in Azure Data Factory. The @string(activity("web call").output ) returns what appears to be the output body, but i cannot see the http status (200, 404 etc) I know the status code is returned as postman can see it.
How can i get the http status from a web activity output?
Solution 1:[1]
Unfortunately there is no direct activity or expression in ADF to capture the HTTP response from the Web Activity output.
As a workaround, you can achieve this by using custom code in Azure Function to capture response codes and you can call this function from Web activity ADF.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | UtkarshPal-MT |
