Change HTTP request logic