Authentication and POST
Hsiao, Weber (whsiao@itouchcom.com)
Tue, 26 Dec 2000 19:47:01 -0500
> Hello,
>
> I'm trying to write a script that submits form data using POST e.g.,
> $ua->request (POST $some_url, ['some_variable'=>'some_value']); .
>
> Each time data is submitted it must be authenticated i.e., a username
and
> password must be included in the HTTP header.
>
> I tried using $req = basic_authorization($username,$password),
however,
this
> simply sends a HTTP request with the username and password, but none
of
the
> data specified in the POST.
>
> How do I include the authentication information along with the data in
a
> single POST?
>
> Thanks!
>
> Weber Hsiao
>
>