Thingsboard REST API Call

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows 10 Store
Homepage
puck91
Posts: 1
Joined: 11. Jan 2021, 20:01

Thingsboard REST API Call

Postby puck91 » 11. Jan 2021, 20:07

Hi together,

I am using thingsboard.io to monitor sensors and thresholds.
Basically Thingsboard is supporting a REST Post request, but actually I won't get it working.

Does anybody have experience with Thingsboard connecting to the REST API of Pushsafer?

Code: Select all

URL: https://www.pushsafer.com/api
Request Method: POST
Content-type application/x-www-form-urlencoded
Data: "t=Response&m=Bad&s=1&v=1&i=1&d=gs1111&k=xxxxxxxxxxxx"
Thank in advance,

User avatar
admin
Site Admin
Posts: 684
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Thingsboard REST API Call

Postby admin » 11. Jan 2021, 21:12

Hi,

the telegram example you should read and adapt to pushsafer
https://thingsboard.io/docs/user-guide/ ... egram-bot/

or cURL should also an option

Code: Select all

curl -v -X POST -d "t=title&m=message&d=deviceid&i=icon" https://www.pushsafer.com/api --header "Content-Type:application/x-www-form-urlencoded"
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


Who is online

Users browsing this forum: Bing [Bot] and 4 guests