Refactoring filter method call to use get instead of post