I solved it! Just changed GET to POST
{"name":"budgetdetail"}
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi!
I have a problem with running an Azure Function in Azure Data Factory.
The Azure function is triggered by a http request and has one GET parameter called name. In my code I do different things depending on that get parameter. At the moment I have an if clause.
If I run this in Visual Studio passing in the parameter "budgetdetail" it works fine.
Then I want to call this from Azure Data Factory. If I change my code with no if clause it works fine. It runs the code perfectly from Azure Data Factory. But when I have the if clause then it just skips the if clause and finish the function with succeded.
I added get headers for my get function
What am I doing wrong here?
Please help!
I solved it! Just changed GET to POST
{"name":"budgetdetail"}