Refactored request printing