Open Eagle2373 opened 4 years ago
Tried to sent a notification using a comma separated device list but I can't get it working. Only the first device in the list receives the notification. The message structure is the following what I'm using:
newMsg = { topic: topicText, payload: payloadText, priority: 0, device: "device_1, device_2" }
In this case, only device_1 will receive the notification, turning the devices around so "device_2, device_1" then only device_2 will receive it.
Is the message layout incorrect?
Tried through curl: curl -s \ --form-string "token=TOKEN" \ --form-string "user=USER_KEY" \ --form-string "message=hello world" \ -F “device=device_1,device_2” \ https://api.pushover.net/1/messages.json
is working.
Tried to sent a notification using a comma separated device list but I can't get it working. Only the first device in the list receives the notification. The message structure is the following what I'm using:
newMsg = { topic: topicText, payload: payloadText, priority: 0, device: "device_1, device_2" }
In this case, only device_1 will receive the notification, turning the devices around so "device_2, device_1" then only device_2 will receive it.
Is the message layout incorrect?
Tried through curl: curl -s \ --form-string "token=TOKEN" \ --form-string "user=USER_KEY" \ --form-string "message=hello world" \ -F “device=device_1,device_2” \ https://api.pushover.net/1/messages.json
is working.