calling a logic-app from azure function

braxx 421 Reputation points
2021-01-18T16:40:47.163+00:00

Trying to send http request from azure function to logic app. Function in Javascript runs without error but the logic app has never been triggered. Here is how i am fetching the endpoint.

 const fetch = require("node-fetch");

    fetch("https://prod-30.eastus2.logic.azure.com:443/workflows/123axc/triggers/manual/paths/invoke?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=abc123-XKP-fPs",{method: "POST", body: {"html": html}, headers: {
        "Content-Type": "application/json",
      }})

Can someone explain what is wrong or missing here?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

0 comments No comments

1 answer

Sort by: Newest
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

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.