cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ExtremeLeadProg
Regular Visitor

Problem with "HTTP request is received" action flow

I am trying to build what should be a very simple flow - one issue may be that I am not very knowledgeable about Json.

 

Here is what I want to accomplish - I need someone to Trigger a simple GET http request like the following: URL/?Firstname=FirstName&Email=email-address, etc, etc

 

So I build a flow that looks like this: https://i.snipboard.io/nvmC8w.jpg 

 

Here is my request body JSON schema: https://i.snipboard.io/COEzSX.jpg 

 

I am doing a test via the Talend API tester chrome plugin: https://i.snipboard.io/OKQw5U.jpg 

 

MS Flow says it runs fine and I get the test email but the Dynamic content isn't showing in the email, it shows blank: https://i.snipboard.io/G6VEe2.jpg 

 

Can someone help me with what I may be doing wrong here?

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User III
Super User III

Hi
If you expect parameters on the Request URI, you need to decalre them in the trigger Relative path instead of JSON body
https://powerusers.microsoft.com/t5/General-Power-Automate/HTTP-request-trigger-MS-Flow/td-p/83574
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

5 REPLIES 5
efialttes
Super User III
Super User III

Hi
If you expect parameters on the Request URI, you need to decalre them in the trigger Relative path instead of JSON body
https://powerusers.microsoft.com/t5/General-Power-Automate/HTTP-request-trigger-MS-Flow/td-p/83574
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

That may be pointing me in the right direction.

 

I now have the flow set like this: https://i.snipboard.io/oLWqXB.jpg 

 

But when I run a test I get this error now: https://i.snipboard.io/bquEHs.jpg 

Hi
Have you tried removing the json stuff? You are declaring tge same variable names as in your relative path.
Also, since HTTP GET, the tests can be completed from your browser, just need to type the right URL... probably faster
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!



Ok, I got it to work this way, it's not an actual GET request in the sense that you do Value Pairs like this: URL/"&Firstname=Mike&Lastname=Rogers".

 

You do it like this: URL/Firstname/Mike/Lastname/Rogers

 

This should be a sufficient workaround though, I just can't use the API tester the normal way, thank you.

Hi
Is the issue finally solved?
If so, then please mark the thread as solved, so anyone in a similar situation can find the way to solve it too
Thanx!


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!



Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (52,996)