Calling Azure Logic App through C# code

salilsingh-9961 351 Reputation points
2023-07-11T05:41:10.1833333+00:00

Hi Team,

In my project Azure logic app is getting called from C# as below -

await client.PostAsync(url, requiredData);

what could be the value of url here, how to find this value for a logic app through Azure Portal.

Thanks,

Salil

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
Developer technologies | ASP.NET | ASP.NET Core
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,986 Reputation points Moderator
    2023-07-11T05:46:14.3166667+00:00

    @salilsingh-9961 Thanks for reaching out.

    You need to leverage the Request trigger. Once you create the request trigger and save it. It will automatically generate the HTTP URL along with the query parameter that will be used to authenticate the request. For more details you can refer to this document.

    Screenshot showing Azure portal, Consumption workflow designer, search box with "http request" entered, and "When a HTTP request" trigger selected.

    new

    Please "Accept Answer" if the answer is helpful so that it can help others in the community.


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.