Тема: HTTP Request in Notifications
Hi
Please explain how to send http request in notification ,how to send Imei,unit name or any parameter.
Вы не вошли. Пожалуйста, войдите или зарегистрируйтесь.
Hi
Please explain how to send http request in notification ,how to send Imei,unit name or any parameter.
You can use the following action type in your "svc=resource/update_notification¶ms" API call to do an HTTP request when the notification is triggered
{
"t":"push_messages", /* action type */
"p":{
"url":<text>, /* server name (port may be defined), start it with "http(s)" */
"get":<bool> /* request type: 1 - GET, 0 - POST */
}
}