RESTful API to identify negation