cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

How to pass a variable in a HTTP trigger using GET method

Hi,

 

I have a need to implement a HTTP service that an external system will call using a GET request. The system will call my service with parameters in the url, for example http://server/Notification?RequestID="12345"

 

I created a simple flow with a trigger "When a HTTP request is received" with method GET and path /Notification

 

The flow generated a URL that I can call from the browser, but when I add &RequestID="12345" to the end of it, I don't see this info appear in the flow request/response.

 

How can I read the RequestID parameter in my flow and use it in subsequent actions ?

 

Stephane

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi!

Did you consider defining 'relative path' input in your trigger?

https://powerusers.microsoft.com/t5/General-Power-Automate/Problem-with-quot-HTTP-request-is-receive...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

2 REPLIES 2
Super User III
Super User III

Hi!

Did you consider defining 'relative path' input in your trigger?

https://powerusers.microsoft.com/t5/General-Power-Automate/Problem-with-quot-HTTP-request-is-receive...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

Community Support
Community Support

 

Hi @bouillons ,

 

As suggested by @efialttes , when you want your endpoint URL to accept parameters, specify the relative path in your trigger.

Please check this link and get more details about accept parameters in endpoint URL:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-http-endpoint#accept-parameters-in-endp...

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (3,490)