Rest Call with array parameter

0
Goodmorning! We would like to make a rest call with 4 string parameters (not an issue) and an array or list parameter, where you can put multiple id's. We would like to see the array parameter in the url if that is possible. Has someone an example how we can solve this particular issue.   Thanks in advance!   Dennis Bemer  
asked
1 answers
0

As you have probably already figured out, Mendix only accepts primitive data types in the url, so an array is not possible. You can, however, use a string-typed parameter and pass the array as a comma-separated string, but Mendix does not handle that (not 100% certain about this, but the docs imply this. So the only option left is using a string and a self-chosen separator and handle the parsing of that string by yourself.

answered