Added header to url request code