Using HttpRequest instead of HttpURLConnection now.