1

HTTP Request in Notifications

Тема: HTTP Request in Notifications

Hi
Please explain how to send http request in notification ,how to send Imei,unit name or any parameter.

2

HTTP Request in Notifications

Re: HTTP Request in Notifications

You can use the following action type in your "svc=resource/update_notification&params" 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 */        
    }
}