send notification from MS to android

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
conjure
Pro Scripter
Posts: 64
Joined: Thu Jan 12, 2012 3:05 pm

send notification from MS to android

Post by conjure » Sat Jun 16, 2018 6:43 pm

Hi. There is an app ( Notify My Device ) that gives you an api key to send notifications to your android device.


https://www.notifymydevice.com/push?Api ... &PushText=

Is there a way i can use MS to send these notifications?

Our public API is very simple and easy to use. There are 2 methods to send a notify message:

1. Send a notify using email. Just send an email to <apikey>@notifymydevice.com. All devices that have subscribed to this apikey will receive a push notification. The subject of the mail is the title and the body should contain the message.

2. Use a HTTPS or HTTP post to deliver your notification. The url is: https://www.notifymydevice.com/push You should also supply these parameters: ApiKey, PushTitle, PushText.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: send notification from MS to android

Post by Marcus Tettmar » Mon Jun 18, 2018 3:44 pm

Yes, use the HTTPRequest command.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

conjure
Pro Scripter
Posts: 64
Joined: Thu Jan 12, 2012 3:05 pm

Re: send notification from MS to android

Post by conjure » Sat Dec 15, 2018 4:27 pm

Marcus can you please show me how to do it?
This is the address
https://www.notifymydevice.com/push?Api ... shText=fff

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: send notification from MS to android

Post by Marcus Tettmar » Mon Dec 17, 2018 10:56 am

Something like this:

Code: Select all

Let>PostData=ApiKey=ABCDEFGH12345WHATEVER&PushTitle=Some Notification&PushText=Body of notification
HTTPRequest>https://www.notifymydevice.com/push,,POST,PostData,Response
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts