Something like:

POST /path/to/script HTTP/1.1\r\n
Host: foo.bar.com\r\n
scriptvar=value\r\n
scriptvar=value\r\n
\r\n

I think.  You can run netcat in listen mode:

nc -l -p 9876

Then from another terminal run wget/curl against it

curl -d 'scriptvar=test' http://localhost:9876/fake/path/script.cgi

and then look at what netcat dumps out.  You can then type a fake
response to netcat if you like to see what curl gets back :)

C

On Fri, 2002-03-29 at 06:33, dman wrote:

> Craig: 
>     Thanks for showing me netcat.  It will make the script easier,
>     once I figure out the syntax for POSTing a form in HTTP.


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to