cURL session authentication - working in OSX but not in Windows
<p>I am a noob on cURL - I am trying to authenticate a session with a server according to the documentation provided to me.</p>

<p>When I try the below command from OSX it works fine and I end up getting a "Session Successfully Authenticated" message.</p>

<p>But, when I try the exact same command from Windows (tried on 3 diff machines) It gives me "Authentication failed!" message.</p>

<pre><code>curl --request POST http://xx.yy.zz.nnn/login.php --data 'username=ams' --data 'password=&lt;password&gt;' -c cookie.txt -v
</code></pre>

<p>In the verbose, the only difference I see between the two systems are - the content-length = 34 (in windows) and content-length = 30 (in OSX).</p>

<p>When I do a cURL from windows, is there any special consideration that needs to be taken into account when sending data??</p>

<p>Any help/pointer to resolve this is much appreciated. Thanks.</p>