Implemented a RESTful interface for adding a DiracTask