here one parameter (ids) is passed to split by "-", and then each element is parsed as int
for url
http://our.api.com/product/11-222-3
the output will be
[11 222 3]
you can select other separator then "-", but ,.; are not working (i have no time to figure what it is: restriction of ring or smth else)
here one parameter (ids) is passed to split by "-", and then each element is parsed as int for url http://our.api.com/product/11-222-3 the output will be [11 222 3]
you can select other separator then "-", but ,.; are not working (i have no time to figure what it is: restriction of ring or smth else)