Use Express 4 app.route() functionality for REST provider.