How do I send square brackets [] in POST json text

For example:
{
"eventName": "sensorUpdate",
"payload": {
"sensorId": "livingroom_multisensor",
"readings": [
{ "capability": "Illuminance", "value": 1200 },
{ "capability": "Temperature", "value": 21.5 },
{ "capability": "Humidity", "value": 42 }
]
}
}

They are stripped out when do the assignment of the json text.

have you tried %5b and %5d instead? Sometimes url encoding special charters works.

4 Likes