1 year ago
#195197
Jun
how to send query parameter which is a list which has strings (a string has comma)
request
{
params: {
devices: ['iPad12,1', 'LH-12', 'LX-12']
}
}
to send a devices
query parameter with array, I reduced array to a string with comma. ('iPad12,1,LH-12,LX-12')
in this situation,
if a device name has a comma(like iPad12,1
), backend recognize this query patemeter like ['iPad12', '1', 'LH-12', 'LX-12'].
Is there the best way to solve this issue?
query-string
encodeuricomponent
0 Answers
Your Answer