Fixed request URL preparation