change http.route to server.route in code samples