title: cURL and Siteminder authentication
body: <p>We are trying to automate certain data collection using cURL. Unfortunately the source system is protected by siteminder. (Web Access Management Software).</p>
  
  <p>I tried using the normal command </p>
  
  <pre><code>curl -kL -o my_data.xml -u username:password https://example.com/location/of/file
  </code></pre>
  
  <p>(though the username &amp; password are correct, its displaying error)</p>
  
  <p>Error</p>
  
  <pre><code>HTTP Status 401 - 
  This request requires HTTP authentication ().
  </code></pre>
  
  <p>Any idea how to connect and fetch data from a siteminder authenticated page?</p>
  
  <p>Cheers</p>