D
dan
URLConnection connection = url.openConnection();
connection.setRequestProperty("Proxy-Authorization", "Basic
"+"c2VydmljZTAxAdswMQ==");
connection.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 5.0)");
connection.setRequestProperty("Accept", "text/html, image/*");
connection.setDoInput( true );
connection.setDoOutput( true );
connection.setUseCaches( false );
connection.connect();
So this is my code...
Proxy-Authorization does work! How can I logon to another site via
Basic Authentication?
connection.setRequestProperty("Proxy-Authorization", "Basic
"+"c2VydmljZTAxAdswMQ==");
connection.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible;
MSIE 5.5; Windows NT 5.0)");
connection.setRequestProperty("Accept", "text/html, image/*");
connection.setDoInput( true );
connection.setDoOutput( true );
connection.setUseCaches( false );
connection.connect();
So this is my code...
Proxy-Authorization does work! How can I logon to another site via
Basic Authentication?