How to receive a http post in Data Factory?

Mohsen Akhavan 831 Reputation points
2021-07-12T05:52:16.243+00:00

Function 1 sends a message body by HTTP post every 5 minutes.
In Data Factory I want to receive this message and pass this body to Function 2 as input.

{
"body": "run"
}

How can I receive this message in the Azure Data factory?

113706-image.png

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KranthiPakala-MSFT 46,737 Reputation points Microsoft Employee Moderator
    2021-07-12T23:52:50.857+00:00

    Hi @Mohsen Akhavan ,

    Thanks for using Microsoft Q&A forum and posting your query.

    Since Function1 send data every 5 mins, I would suggest to write the body to a storage blob location and use Storage event trigger feature in ADF to trigger your ADF pipeline. Inside the pipeline before your Function2 have a lookup activity to read the data of the response body (in blob) from Function1 and pass the output of lookup to your Function2.

    Hope this info helps. Do let us know if you have further query.

    ----------

    Please don’t forget to Accept Answer and Up-Vote wherever the information provided helps you, this can be beneficial to other community members.

    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.