cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Custom connectors and HTTP GET with multiple, repeated Query Parameters

I’m adding some REST calls to an existing custom connector.  The specific HTTP GET call I want to make is as follows:

 

http://theIPAddress:8080/theProductName/restful/alarms?landscape=0x100000&attr=0x11f56&attr=0x12b4c&...

 

Note the repeating attr values, above (there are two).

 

And here's the Action I've added in Flow:

 

flowQueryParameterDuplicates.png

 

As indicated by the red highlight in this screenshot, Flow seemed to pick up only one of my attr parameters.  Whereas, the URL (above) has multiples.

 

I’ve scoured Google and the Flow Community pages, but I’m not able to find a solution.

 

Anyone have any experience with how to make a Flow Custom connector accept multiple, repeated Query parameters?

 

1 REPLY 1
Highlighted
Super User II
Super User II

Re: Custom connectors and HTTP GET with multiple, repeated Query Parameters

Hi 

 

There's no defined standard to parse multiple Query Parameters with the same name.

 

This stackoverflow discusses this in detail.

https://stackoverflow.com/questions/24059773/correct-way-to-pass-multiple-values-for-same-parameter-...

 

Basically this depends on the implementation of each platform and Flow may ignore the next occurrence with the same name.

 

Ideally, you should avoid this.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Users online (7,699)