}
private void verifyRequest(WebService.Action action, Request request) {
// verify the HTTP verb
if (action.isPost() && !"POST".equals(request.method())) {
throw new ServerException(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "HTTP method POST is required");
}
}