Added a stub of the RESTful HTTP API.