J
Jeff Ledbetter
Guest
Hi. After having some luck with curl using something like this: curl -X GET -v http://localhost:16680/oemanager/applications/ -u tomcat:tomcat ..I am now trying to get this same information from the tomcat server in PASOE using .Net. Unfortunately, I am unable to get past the 401 Unauthorized error. Am I way off base? webClient = NEW WebClient(). myUri = NEW Uri("http://wintest"). netCred = NEW NetworkCredential("tomcat", "tomcat"). credCache = NEW CredentialCache(). credCache:Add(myUri, "Basic", netCred). webClient:Credentials = credCache. ASSIGN cURI = " wintest:8810/.../applications" lcString = webClient
ownloadString (cURI). webClient
ispose() .
Continue reading...
Continue reading...