How to HTTPS with authentication and properties??

A

A Fan

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:[email protected]/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 required AND
extra properties in URL.

Any help?

This is important to me.
I will pay to get help.

Thanks,
Carl
 
C

Christophe Vanfleteren

A said:
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:[email protected]/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 required AND
extra properties in URL.

Any help?

This is important to me.
I will pay to get help.

Thanks,
Carl

Did you even check the answers the last time you posted this?

http://groups.google.com
groups?hl=en&lr=&ie=UTF-8&threadm=a15bovok9outoc93309h65r5fame6ogssc
404ax.com&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26selm
3Da15bovok9outoc93309h65r5fame6ogssc%25404ax.com
 
A

ak

your answer seems to unreadable


Christophe Vanfleteren said:
Did you even check the answers the last time you posted this?

http://groups.google.com
groups?hl=en&lr=&ie=UTF-8&threadm=a15bovok9outoc93309h65r5fame6ogssc
404ax.com&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26selm
3Da15bovok9outoc93309h65r5fame6ogssc%25404ax.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top