I’m proxying to a backend that’s expecting, for example: http://example.com/endpoint?field=id&field=description
I’m trying to set these querystrings in an AssignMessage policy, but only the last one that I set is being reflected. Does apigee support assigning multiple QueryParams with the same key? This is the policy I’m using:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="Filter-displayed-fields">
<DisplayName>Filter displayed fields</DisplayName>
<Properties/>
<Add>
<QueryParams>
<QueryParam name="field">id</QueryParam>
<QueryParam name="field">description</QueryParam>
<QueryParam name="field">status</QueryParam>
</QueryParams>
</Add>
<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
<AssignTo createNew="false" transport="http" type="request"/>
</AssignMessage>
But the resulting curl (through the trace tool looks like:
[https://<snip>?field=status](https://<snip>?field=status)