purplestickmen
15 years agoNew Contributor
Posting array parameters in REST services
I am using SOAPUI successfully to test my rest webservices, however there appears to be a bug in that I can't pass an array of parameter values.
In a form I would usually post the following
lstColumns[] myColumn
lstColumns[] mySecondColumn
lstColumns[] myThird
On the server side, I can process this as an array string values i.e.
lstColumns] containing myCOlumn, mySecondColumn, myThird
But, in SOAPUI I can't add multiple parameters with the same name.
Everytime I add a parameter that already exists it overwrites the previous entry.
Is there a different technique in passing array values in SOAPUI or is this a bug?
In a form I would usually post the following
lstColumns[] myColumn
lstColumns[] mySecondColumn
lstColumns[] myThird
On the server side, I can process this as an array string values i.e.
lstColumns] containing myCOlumn, mySecondColumn, myThird
But, in SOAPUI I can't add multiple parameters with the same name.
Everytime I add a parameter that already exists it overwrites the previous entry.
Is there a different technique in passing array values in SOAPUI or is this a bug?