Right now, all service errors will return an HTML page which is not that useful when POSTing JSON data. Split the routes and add appropriate handlers.
Right now, all service errors will return an HTML page which is not that useful when POSTing JSON data. Split the routes and add appropriate handlers.