My Mobile REST

Peter Rukavina

Remember my mobile web server? Well, in addition to all its juicy mobile goodness, it also has a nice RESTful API. For example, this URL:

http://ruk.mymobilesite.net/rest/presence/devicestate

will get you an XML file, served from the web server on the phone, that looks something like this:

<devicestate>
    <battery_level>100</battery_level>
    <localtime>2008-08-23T17:04:57-03:00</localtime>
    <connection_type>WLAN</connection_type>
</devicestate>

Similarly, if you do an HTTP POST to:

http://ruk.mymobilesite.net/rest/inbox/message

you can send me a text message. It’s really quite neat.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, listen to audio I’ve posted, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). 

You can subscribe to an RSS feed of posts, an RSS feed of comments, or a podcast RSS feed that just contains audio posts. You can also receive a daily digests of posts by email.

Search