Credentials and POST method with IO::Socket::SSL?
am 30.06.2006 23:14:31 von nospam
Hello.
I need to send form data to a secure server, using the POST method.
I have successfully used IO::Socket::SSL with the GET method, but
I cannot find any examples of posting data using this module.
Can anyone here help?
Thanks
-Mark
Re: Credentials and POST method with IO::Socket::SSL?
am 01.07.2006 18:08:02 von nospam
"Mark G." wrote:
> Hello.
>
> I need to send form data to a secure server, using the POST method.
> I have successfully used IO::Socket::SSL with the GET method, but
> I cannot find any examples of posting data using this module.
Well, I got that working. . .encrypted data is flowing.
Unfortunately, I am getting a 400 response with "Bad Request (Invalid Header
Name)."
It looks like I'll be curling up with a good RFC this evening.
-Mark
Re: Credentials and POST method with IO::Socket::SSL?
am 08.07.2006 07:57:07 von nobull67
Mark G. wrote:
> I need to send form data to a secure server, using the POST method.
> I have successfully used IO::Socket::SSL with the GET method, but
> I cannot find any examples of posting data using this module.
IIRC, although IO::Socket::SSL contains a rudimentary HTTPS client
implementation it's more common practice, better documented, more
complete and more reliable to use the HTTPS implementation in LWP
instead.
Note: This this still uses IO::Socket::SSL to do the SSL but uses the
HTTP implementation from LWP.