const myHeaders = new Headers();
//Then use the value of the token in the "append" method, to the headers
//Note there is a space between the word Bearer and then the actual token which begins eyJ0ein this instance
myHeaders.append("Authorization", "Bearer eyJ0e....[REDACTED TOKEN - LONG TOKEN TEXT HERE]");
const requestOptions = {
method: "GET",
headers: myHeaders,
redirect: "follow"
};
fetch("[Redacted URL of FLow]/triggers/manual/paths/invoke?api-version=2016-06-01&myURLvariablePassedToFlow=12345", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.