Groovy with REST API - Reading Paramters from File
Summary:
Content (required):
I'm trying to execute a rule via groovy and REST API by reading the parameters from a file (CSV). If I populate the array with the paramters manually, the request works - see below:
Paramaters set in an array
arrParams2 then used in the Payload object
However, if I populate arrParams2 from a variable that I read from a file, the requests fails - see below for details:
arrParams2 is populated from a comma seperated string with the split command
If I output the contents of arrParams2 to the console, i get this exactly the same contents as I have when the array is manually populated
Tagged:
0