Hi all,

I need to submit several POSTs in a row in a single connection (i.e HTTP 1.1
persistent connection).

I've tried:

/usr/local/bin/wget --user-agent="MyUserAgent/3.0/1.0" --auth-no-challenge
--http-user="myUser" --http-password="myPWD" --header "Pragma: no-cache"
--header "Cache-Control: no-cache" --header "Connection: keep-alive"
--header "Content-Type: text/xml" --header "Accept: text/html, image/gif,
image/jpeg, *; q=.2, */*; q=.2" --post-file=foobar
http://192.168.100.10:20010/MyAPP

Where foobar contains two different POST (xml) requests separated by a CRLF.

When I execute the command it will post my first request but ignore the
second line of the file.

Is it possible to send all the requests in the file?

Thanks in advance

BR
Alex

Reply via email to