Allows http method to be null