Reputation: 2558
In a Logic App, is it possible to send arguments via the URL?
The first step in the app is a "When a HTTP request is received" trigger that generates a URL. For example:
If a user to adds an argument, say &country
, can the application read it, or is it better to pass arguments like this via the body? It would look something like this:
Bonus question: if the arguments should be passed in the body, when should a GET trigger be used in in a Logic App?
Upvotes: 3
Views: 6933
Reputation: 13
I know this is an old post but with the queries parameter we can pass the query string parameters like shown below.
Upvotes: -1
Reputation: 153
Yes, you can send in a query string parameter such as appending the Logic App URL with &country=Iceland
.
If you check the raw output produced by the "When a HTTP request is received" trigger then you will see the following object:
{
"headers": { LIST_OF_HEADERS },
"queries": {
"country": "Iceland"
}
}
The Queries object is available to use in other shapes within the Logic App.
Upvotes: 0