title: How to send JSON file as part of request body in CURL POST command
body: <p>I am using CURL command line to send HTTP POST to a web service. I want to include a file's contents as a <strong>PART</strong> of the body of the POST command. Is this possible? I know I can send a file as the entire body as answered <a href="https://stackoverflow.com/q/15912924/8571146">here</a>. But I only want a part of the body to be the content of the file. </p>
  
  <p>For example</p>
  
  <pre><code>curl -d '{ "name": "rahul", "speed": "fast", "data": { "number": 1, "letter": "abd", "letter2": "efg"} }' 'http://...'
  </code></pre>
  
  <p>Here I only want <code>data</code> as the file's content. Not the entire body. How can I do this?</p>