How to HTTPS with authentication and properties??

Discussion in 'Java' started by A Fan, Oct 22, 2003.

  1. A Fan

    A Fan Guest

    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:/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
     
    A Fan, Oct 22, 2003
    #1
    1. Advertising

  2. A Fan wrote:

    > 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:/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

    --
    Regards,
    Christophe Vanfleteren
     
    Christophe Vanfleteren, Oct 22, 2003
    #2
    1. Advertising

  3. A Fan

    ak Guest

    your answer seems to unreadable


    "Christophe Vanfleteren" <> schrieb im Newsbeitrag
    news:YYwlb.97814$-ops.be...
    > A Fan wrote:
    >
    > > 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:/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
    >
    > --
    > Regards,
    > Christophe Vanfleteren
     
    ak, Oct 22, 2003
    #3
  4. ak wrote:

    > "Christophe Vanfleteren" <> schrieb im Newsbeitrag
    > news:YYwlb.97814$-ops.be...
    >> 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
    >>
    >> --
    >> Regards,
    >> Christophe Vanfleteren

    >
    > your answer seems to unreadable
    >
    >


    seems like I'm having trouble copy/pasting today :)

    This should work better:
    http://groups.google.com/groups?selm=

    --
    Regards,
    Christophe Vanfleteren
     
    Christophe Vanfleteren, Oct 22, 2003
    #4
  5. A Fan

    A Fan Guest

    On Wed, 22 Oct 2003 15:31:44 GMT, Christophe Vanfleteren
    <> wrote:

    >ak wrote:
    >
    >> "Christophe Vanfleteren" <> schrieb im Newsbeitrag
    >> news:YYwlb.97814$-ops.be...
    >>> 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
    >>>
    >>> --
    >>> Regards,
    >>> Christophe Vanfleteren

    >>
    >> your answer seems to unreadable
    >>
    >>

    >
    >seems like I'm having trouble copy/pasting today :)
    >
    >This should work better:
    >http://groups.google.com/groups?selm=



    That site will take a few days to digest.
    Thanks for the tip.

     
    A Fan, Oct 22, 2003
    #5
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. carl
    Replies:
    0
    Views:
    302
  2. carl
    Replies:
    2
    Views:
    474
    Christophe Vanfleteren
    Oct 10, 2003
  3. Axel
    Replies:
    8
    Views:
    1,272
    Adrienne Boswell
    Apr 27, 2009
  4. jotto
    Replies:
    4
    Views:
    443
    jotto
    Oct 2, 2006
  5. Naveen Dhanuka
    Replies:
    1
    Views:
    319
Loading...

Share This Page