title: curl PUT data from a huge file?
body: <p>I have some nasty curl with ntlm authentication and i need to PUT/send data from some file to server. This is how it looks like. My problem is how to change that data to be read from file easly?</p>
  
  <p>I'm using bash there now.</p>
  
  <pre><code>curl -v -X PUT http://server:port/databases/test/docs/testID -d "{ FirstName: 'Bob', LastName: 'Smith', Address: '5 Elm St' }" --ntlm --user 'username:pass'
  </code></pre>
  
  <p>I'm wondering how should i change that data in param -d with a file. Preferably not just echo-ed from certain path? I would rather use some option and just pass a file path</p>