Hello friends
I have a problem with authentication to send a content to a URL on AS400
server. I ever done this before, and I have a java example how to do that.
The problem is that I do't know wich method should I use no VB.net to do the
same as "setRequestProperty" on this example.
conn = (HttpURLConnection)url.openConnection();
String szUserPassword=ivAS400User+":"+ivAS400Password;
String szEncoding = new BASE64Encoder().encode(szUserPassword.getBytes());
conn.setRequestProperty("Authorization", "Basic " + szEncoding);
I 'm using WebRequest Class to send the content.
Do everyone know wich method on vb.net whould I use to send the
authentication?
(It is first time I'm doing a project like this and I appreciate any help!!)
Thank you for help
Bruno