Share via


How to call HttpTrigger Function with parameters

Question

Wednesday, January 9, 2019 5:51 AM

Good Day,

I wrote a function that you need to pass parameters, but after trying to trigger my function in logic apps, there is no option to add parameters, How can I do that?

PS: My function app logic is , to get and calculate transactions fee , using GET Method , when my function is triggered , it will return a response of the calculated result , but parameters are a must , cause I base where to get fees from the parameters

My Goal: Create a httptrigger azure function to return a result when triggered , and then on logic app , Recurrence - triggers my function every month.

Thanks

All replies (2)

Wednesday, January 9, 2019 1:27 PM âś…Answered

I believe you are referring to query parameters in the URL to trigger your function app.

The Logic App connector has a Queries field where you can just enter the required parameters as a JSON object like this


Thursday, January 10, 2019 1:09 AM

@PramodValavala-MSFT

Thanks for the response, I already tried this yesterday and did not work , I found out I didnt publish the changes from my functiton app thats why its not working lol

Thanks