Fall back to using httpMethod() from request class to detect request type instead of just relying on count(POST)