Request response refactoring