question

MohsenAkhavan avatar image
0 Votes"
MohsenAkhavan asked KranthiPakala-MSFT commented

How to receive a http post in Data Factory?

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-data-factoryazure-functions
image.png (34.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KranthiPakala-MSFT avatar image
1 Vote"
KranthiPakala-MSFT answered KranthiPakala-MSFT commented

Hi @MohsenAkhavan,

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.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MohsenAkhavan,

Just checking in to see if the above information was helpful. If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·

Hi @MohsenAkhavan,

We still have not heard back from you. Just wanted to check if the above suggestion was helpful? If it answers your query, please do click “Accept Answer” and/or Up-Vote, as it might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

0 Votes 0 ·