Posted: Wed Jan 09, 2019 7:35 am Post subject: REST API array query parameter
Novice
Joined: 31 May 2011 Posts: 24
Hi,
we want to pass array as query parameter with RESTRequest node but with no succes.
We tried:
Code:
SET OutputLocalEnvironment.Destination.REST.Request.Parameters.pr1[1] = 'pr11';
SET OutputLocalEnvironment.Destination.REST.Request.Parameters.pr1[2] = 'pr12';
This returns error "Multiple values found in LocalEnvironment for parameter".
It works when we use HTTPRequest node with this ESQL:
Code:
SET OutputLocalEnvironment.Destination.HTTP.QueryString.p1[1] = 'pr11';
SET OutputLocalEnvironment.Destination.HTTP.QueryString.p1[2] = 'pr12';
Is there a way how to make it work with RESTRequest node?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum