SyntaxFix
Write A Post
Hire A Developer
Questions
URL url = new URL("http://www.google.com/humans.txt"); HttpURLConnection http = (HttpURLConnection)url.openConnection(); int statusCode = http.getResponseCode();