Alaska Software Inc. - HTTPS + POST
Username: Password:
AuthorTopic: HTTPS + POST
Stephan KoenigHTTPS + POST
on Mon, 25 Nov 2002 22:15:44 -0500
Hi,

I am requested to transfer Data to a server using HTTPS and the POST Method.

I understand that HTTPS is supported by loadurl(), but how do I do the POST
?

(I know how to do get, but that is not accepted)

Thanks

Stephan
phil@idep.org.uk Re: HTTPS + POST
on Tue, 26 Nov 2002 09:58:42 +0000
>I am requested to transfer Data to a server using HTTPS and the POST Method.
>
>I understand that HTTPS is supported by loadurl(), but how do I do the POST
>?
>
>(I know how to do get, but that is not accepted)

I'm not sure exactly, but POST is fed as a continuous stream through
the socket.  My guess would be that you create the HTTP header naming
POST instead of GET, then pass the data as if it were a document.

Check out the relevant RFC at www.ref-editor.org/rfcsearch.html

Regards,

Phil Ide

Xbase++ FAQ
current release: 8,  Monday 4th February 2002, 14:54
***
* Xbase++ FAQ:
*  online  : http://www.idep.org.uk/xbase/xbfaq/xbfaq.htm
*          : www.software-braun.de/xbfaq/xbfaq.htm 
*  download: http://www.idep.org.uk/xbase/xbfaq.zip
*          : www.software-braun.de/xbfaq/xbfaq.zip 
***
phil@idep.org.uk Re: HTTPS + POST
on Tue, 26 Nov 2002 12:51:30 +0000
Oops, typo:

>Check out the relevant RFC at www.ref-editor.org/rfcsearch.html

www.rfc-editor.org/rfcsearch.html

Regards,

Phil Ide

Xbase++ FAQ
current release: 8,  Monday 4th February 2002, 14:54
***
* Xbase++ FAQ:
*  online  : http://www.idep.org.uk/xbase/xbfaq/xbfaq.htm
*          : www.software-braun.de/xbfaq/xbfaq.htm 
*  download: http://www.idep.org.uk/xbase/xbfaq.zip
*          : www.software-braun.de/xbfaq/xbfaq.zip 
***
RolandRe: HTTPS + POST
on Tue, 26 Nov 2002 21:47:41 +0100
Hello Stephan

Doesn't:

oadFromUrl( <cURL>,[<nPortNumber>],[<nProtocol>],[<cProxyUrl>],[<acByPass> ]
,[<cMethod>],[<cPostString>] )
with
   cMethod := "POST"
   cPostString := "arg1=val1&arg2=val2&..."
do that?

I'm not claiming that it does, because I did not try it. But I took it for
granted for some future retrieving data via SSL.... =8(

-Roland
Stephan KoenigRe: HTTPS + POST
on Tue, 26 Nov 2002 20:36:11 -0500
> loadFromUrl(
<cURL>,[<nPortNumber>],[<nProtocol>],[<cProxyUrl>],[<acByPass> ]
> ,[<cMethod>],[<cPostString>] )

Well, I did not think it was that easy. I simply did not understand the Help
File, but now I think it will do the job.

I will have it tested right away.

THANKS

Stephan
Anand GuptaRe: HTTPS + POST
on Fri, 29 Nov 2002 20:31:00 +0530
HI Stephan

Do post here, if you that work. I currently use a small free DOS utility
named CURL to submit via POST method.

Anand

"Stephan Koenig" <S.Koenig@LaserPlus.de> wrote in message
news:3de42058@asgcom.alaska-software.com...
> > loadFromUrl(
> <cURL>,[<nPortNumber>],[<nProtocol>],[<cProxyUrl>],[<acByPass> ]
> > ,[<cMethod>],[<cPostString>] )
>
> Well, I did not think it was that easy. I simply did not understand the
Help
> File, but now I think it will do the job.
>
> I will have it tested right away.
>
> THANKS
>
> Stephan
>
>
Stephan KoenigRe: HTTPS + POST
on Fri, 29 Nov 2002 15:45:28 -0500
> Do post here, if you that work. I currently use a small free DOS utility
> named CURL to submit via POST method.

 Anand

it seams to work fine for us. Test were positive, development is not
finished.

Stephan
Anand GuptaRe: HTTPS + POST
on Mon, 02 Dec 2002 11:19:12 +0530
Thanks much Stephan for the info. I better give it a shot sometime this
week.

Anand

"Stephan Koenig" <S.Koenig@LaserPlus.de> wrote in message
news:3de7d0e4$1@asgcom.alaska-software.com...
> > Do post here, if you that work. I currently use a small free DOS utility
> > named CURL to submit via POST method.
>
>  Anand
>
> it seams to work fine for us. Test were positive, development is not
> finished.
>
> Stephan
>
>