curl-users
RE: FW: Post XML Document through Microsoft ISA Server
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 6 Mar 2006 15:43:56 +0100 (CET)
Date: Mon, 6 Mar 2006 15:43:56 +0100 (CET)
On Mon, 6 Mar 2006, Richard Thorp wrote:
> c:\curl\curl -D - -X POST -H "Content-type: text/xml" -d
> @c:\curl\testfile.xml -u name:password -x proxy:port --proxy-ntlm
> https://secure.dev.gateway.gov.uk/submission -k > c:\curl\response4.txt
>
> I can't post through to the URL with a normal browser as I can only GET the
> page (it has no page which allows me to post).
>
> I've also tried replacing -X POST with -v but no joy.
-X POST is pointless as -d implies POST.
-u is for server authentication, and you need proxy authentication done with
-U for that NTLM over proxy.
For a really good "trace", I recommend using "--trace-ascii dumpfile" instead
of -D.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2006-03-06