Experimenting with node.js - creating a RESTful web service