My system is made up of an Arduino Nano board connected to an 8266 esp-01s module running esp-link. I want to use the other capabilities of the esp-link software but I also want to send notifications using the PushOver.net service , so I decided to use the SLIP and REST supports of esp-link to send notification requests to the pushover.net server, the same way the pushover_button sketch for esp01 does working very well (https://github.com/ArduinoHannover/Pushover), that is POSTing the http POST request with the necessary parameters (api key, user key, message, and others, as specified in the pushover service documentation).
I have some troubles with the exact way I have to use to send the POST request with the REST system and the underliyng SLIP (which I have obviously enabled). I tried a lot but invariably, whatever I do, I end up with REST 400 error (malformed request?).
I append:
- the required post request to trigger a pushover notification as by PushOver.net service documentation,
AND
-
the code I wrote modifyng your rest.ino example, which uses the get method (the rest example itself doesn't work out of the box, giving error 301, I think the resource was moved). Moreover I used your thingspeak example to get insight how to work with the rest.post method.
-
Pushover_ API pushing messages.pdf
-
rest.pdf
Can someone help me, please?
Thank You in advance.
D.Iracà
Pisa
Italy
My system is made up of an Arduino Nano board connected to an 8266 esp-01s module running esp-link. I want to use the other capabilities of the esp-link software but I also want to send notifications using the PushOver.net service , so I decided to use the SLIP and REST supports of esp-link to send notification requests to the pushover.net server, the same way the pushover_button sketch for esp01 does working very well (https://github.com/ArduinoHannover/Pushover), that is POSTing the http POST request with the necessary parameters (api key, user key, message, and others, as specified in the pushover service documentation).
I have some troubles with the exact way I have to use to send the POST request with the REST system and the underliyng SLIP (which I have obviously enabled). I tried a lot but invariably, whatever I do, I end up with REST 400 error (malformed request?).
I append:
AND
the code I wrote modifyng your rest.ino example, which uses the get method (the rest example itself doesn't work out of the box, giving error 301, I think the resource was moved). Moreover I used your thingspeak example to get insight how to work with the rest.post method.
Pushover_ API pushing messages.pdf
rest.pdf
Can someone help me, please?
Thank You in advance.
D.Iracà
Pisa
Italy