How to HTTPS with authentication ANDextra URL properties??
From: A Fan (AFan_at_spamhaters.com)
Date: 10/22/03
- Next message: Rick: "Re: Class inside a class problem"
- Previous message: Rick: "Re: Class inside a class problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 22 Oct 2003 09:07:11 -0500
The following PERL code snipet request
(automated client request, OR, it can be JUST A PLAIN BROWSER REQUEST)
needs to be converted to Java2-1.3:
$urlreq="https://myname:mypaswd@www.farm.com/apps/animalsX?DOG=boxer&COLOR=brown"
$ua->agent("Mozilla/3.0");
my $request = new HTTPS::Request('GET', $urlreq);
$request->content_type('application/x-www-form-urlencoded');
.
. (collect data and save it).
.
Anyone have a snipet sample, in Java, of how I do this?
HTTPS seems makes things a bit more complicated in Java.
Notice there is authentication AND extra properties
in the URL.
This is important to me
and am willing to pay
for someone's time.
Thanks,
Carl
- Next message: Rick: "Re: Class inside a class problem"
- Previous message: Rick: "Re: Class inside a class problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|