The first obvious difference is that you are issuing a GET but setting the content type to "application/x-www-form-urlencoded" which is typically only used for POST requests where a request body exists.