Тема: URL Encoding while sending Notification
While sending notification, I have configured the notification like this:
{
"unit":"%UNIT%",
"unitId":"%UNIT_ID%",
"time":"%POS_TIME%",
"speed":"%SPEED%",
"location":"%LOCATION%",
"status":"stopped"
}
I send a POST notification to another server.
Here, some characters like the name of the unit are having Russian characters, which are not received correctly on that server.
Hence I would like to URL encode the notification before sending the notification, so when the notification is received at another server, all the data can be obtained by doing URL decode.
Any idea how can we do this from the Wialon Notification Interface?