cURL / Mailing Lists / curl-users / Single Mail

curl-users

unable to post data when using ntlm authentication

From: Kevin Pauli <kevin_at_thepaulis.com>
Date: Thu, 13 Mar 2014 17:17:26 -0500

Hi, I am observing some odd behavior. If I invoke curl like this:

curl --url http://example.com --data "my data" --ntlm --user
username:password

Then I am not seeing "my data" in the content of the request. Wireshark
confirms the empty request. However, if I remove the --ntlm and --user
parameters, like so:

curl --url http://example.com --data "my data"

Then I do see "my data" in the content.

I have tried many, many combinations of things like --negotiate, and -X
POST and such, but these two examples I've given above are the simplest
ones that demonstrate the problem.

I am using curl-7.3.3.0-win64-ssl-sspi on Windows 7.

-- 
Regards,
Kevin Pauli

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-13