Topic: HTTP Request in Notifications
Hi
Please explain how to send http request in notification ,how to send Imei,unit name or any parameter.
New account creation is currently unavailable. Existing members can continue reading and joining discussions.
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 */
}
}