Baby steps

11 views
Skip to first unread message

Serge Wroclawski

unread,
Feb 19, 2011, 10:32:48 AM2/19/11
to noti...@googlegroups.com
I joined the group several months back but haven't had the time to
work on my goal, a simple script to allow desktop notifications to
work on Ubuntu (Gnome).

The notifications on the desktop side is dead easy, and that's all working fine.

What I'm having trouble with is notify.io. So I thought I'd get back
to basics and the command line GET command (lwp-request) to see if I
can retrieve the json.

I have my listen url file, I copy the contents and I get a url that's
something like:

http://api.notify.io/v1/listen/abcdef1234567890abcdef1234567890

So, on the command line that looks like:

GET -t 1h -e http://api.notify.io/v1/listen/abcdef1234567890abcdef1234567890

(the -t just sets the timeout).

Then because I want to be as simple as possible, I go to the notify.io
web site page where I can make manual requests:

http://www.notify.io/settings

I'm authenticated, of course, and I see my settings, and I see debug forms.

I put in some sample text and title in the debug form, press Notify,
no errors, but I don't see anything in my GET window.

I also tried using netcat. I get the server headers, but no notifications.

Is notify.io working? Am I doing something wrong?

I apologise if this question seems dumb- I think once I can get the
json to my host, the rest 'll be easy.

- Serge

Jeff Lindsay

unread,
Feb 19, 2011, 12:40:46 PM2/19/11
to noti...@googlegroups.com, Serge Wroclawski
Interesting! Let me investigate...

--
Jeff Lindsay
http://progrium.com

Reply all
Reply to author
Forward
0 new messages