Click to See Complete Forum and Search --> : Receiving an HTTP POST


Noahs Ark
March 1st, 2001, 09:21 AM
Can anyone tell me how to receive an HTTP POST on IIS (Microsoft's Internet Information Server)? I need to accept a POST being sent to me. I have found some information at www.jmarshall.com entitled "HTTP Made Really Easy", but something seems to be missing. Maybe I'm pretty thick in the head, but I don't know how to implement this using VB. Any help would be appreciated.

Srikanth_hlp
March 1st, 2001, 11:00 AM
Ay,
I still clearly dont understand ur problem.
I will tell u a method and if u feel this is what u asked take it or else please explain ur problem clearly.

If u want to make a HTTP post to IIS from an application developed using VB then the application has to include internet transfer control which has a method called send

Inet1.Send "post", serverurl,...

try this out and once u succeed mail me

Bye

Spectre
March 1st, 2001, 09:10 PM
There are two parts to receiving HTTP post...
First the data being posted must be sent as a parameter within the HTTP header e.g.
data=Whatever data is being sent

On the receiving end all you need is to set a variable to the request...

MyVar = Request("data")

Hope this helps.
Spectre