cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Gunsmoke125
Level: Powered On

HTTP Get Request Query Keys

I am creating a flow that calls an HTTP GET request for an API. I use the Queries section to indicate the fields to retrieve, however the KEY is constant (‘fields’) for each value, and as a result the HTTP action only request the last value denoted in the Key.

 

i.e. 

Query

Key | Value

fields | id

fields | name

fields | EntityStateID

...

fields | Language

 

When the flow runs, it only retrieves the last key value pair “fields | language”

 

I’ve attempted also to create a string and just use one “fields” value that includes something along the following “id&fields=name&fields=EntityStateID&friends=Language” but this approach results in all fields being returned.

 

FIX: I added the string value noted in my attempt above as part of the request URL and this has worked.

1 REPLY 1
Community Support Team
Community Support Team

Re: HTTP Get Request Query Keys

Hi @Gunsmoke125,

 

Do you want to use Flow to get the query parameters of HTTP Request?

Currently:

- the request body data can use as JSON data.

- the HTTP Request trigger can use some methods, GET/PUSH/POST/PATCH/DELETE.

If you want to add this feature into Flow, you can head to this IDEA to vote it:

https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Get-the-query-parameters-from-HTTP-Request-... 

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

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,231)