Completed HTTP GET request to check the server's response code.