• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use HTTPUrlConncection with user and password

 
Peter Reitberger
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
how can I issue a HTTP request with HTTPUrlConnection when the request has to be authorized by user and password? (I get a HTTP_UNAUTHORIZED response)
Are there any properties to set? Is there some code snippet in any tutorial?
Thanks in advance!
 
James Swan
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give this a whirl...

[ October 13, 2003: Message edited by: James Swan ]
 
Peter Reitberger
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks James! This whirled great!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic