I have been playing around with Arduino to build REST backends to support HTML user interfaces.
For the web server part I have been using the Webduino library. Webduino only works with Wiznet ethernet cards so I decided to abstract the transport stack behind an interface. This way it's possible to use for example serial connections and the CC3000 wifi chip with the library. The ability to use serial has many use cases. For example a serial to bluetooth adapter makes it possible to use the webserver over bluetooth with your Android mobile device and you can use XBees to make networks of servers and clients that communicate wiht each other wirelessly. The devices can also use multiple transport stacks simultaneously all with the same webserver code.