Hello,
I'm trying to setup triggers via io.adafruit.com to post to pushsafer.
I can get a simple post to work, such as https://www.pushsafer.com/api?k=KKKKKKK ... KKK&m=Test
However, I'd like to use the additional json functionality, see pic at https://blog.adafruit.com/2020/08/06/ad ... dafruitio/
Is that something that is already available, or could be easily implemented?
Adafruit JSON Webhook
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: JSON Webhook
Hello,
do you really want to use pushsafer json response in adafruit?
I think you want to use values from a JSON response from a other adafruit service and send it as a push-notification via pushsafer!
I'am right?
Kevin
do you really want to use pushsafer json response in adafruit?
I think you want to use values from a JSON response from a other adafruit service and send it as a push-notification via pushsafer!
I'am right?
Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Re: Adafruit JSON Webhook
I'm sorry I should have posted a screenshot to better explain. See picture.
My PLC publishes mqtt to io.adafruit.com. Then I create triggers based on the values of those fields.
They are setup to send the values as json, not as URL-encoded POST. Is there a way to send JSON to pushsafer? Or only URL-style?
I can work around it if that's the case, just checking!
My PLC publishes mqtt to io.adafruit.com. Then I create triggers based on the values of those fields.
They are setup to send the values as json, not as URL-encoded POST. Is there a way to send JSON to pushsafer? Or only URL-style?
I can work around it if that's the case, just checking!
- Attachments
-
- ioAdafruit.png (47.26 KiB) Viewed 5226 times
- admin
- Site Admin
- Posts: 1006
- Joined: 1. Dec 2014, 12:41
- Location: Germany
Re: Adafruit JSON Webhook
request to Pushsafer don't support JSON.
But can you provide tese values in the Pushsafer API URL like
But can you provide tese values in the Pushsafer API URL like
Code: Select all
https://www.pushsafer.com/api?k=[yourkey]&m=[yourmessage]&t=[yourtitle]&d=[yourdeviceid]
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Pushsafer EN: You like Service and Support! Then we look forward to your review!
Pushsafer.com Website - iOS - Android - Windows 10
Who is online
Users browsing this forum: Google [Bot] and 47 guests