Page 1 of 1

How to POST Formdata to a Webserver

Posted: Wed Jun 18, 2003 12:50 pm
by Sensphere
Hi,

Does anybody know how to POST data to a Webserver like
Formdata from a webpage? Or is this not possible with pb?

I would like to do a login to a webservice by sending the
user/pass using POST (not GET for security reasons).

I know how to make it with GET but i would prefer POST if
possible.

tia

Posted: Wed Jun 18, 2003 1:22 pm
by GedB
Take a look at this PDF, which explains it all in detail. It designed for Perlers but is easily adaptable.

http://www.ncat.edu/~esterlin/c322ss102/Notes/cgi.pdf

Posted: Thu Jun 19, 2003 12:58 am
by Karbon
I've been attempting to get libcurl to work with PB, however it's not exactly the best choice for a fairly new PB user to try.. I'll get it working eventually I hope. Until then, good luck!

A friend was telling me that there are some things available through COM, I'll post more detail when I get it..