General purpose RESTful event processing service