title: How to capture cURL output to a file?
body: <p>I have a text document that contains a bunch of URLs in this format:</p>
  <pre><code>URL = &quot;sitehere.com&quot;
  </code></pre>
  <p>What I'm looking to do is to run <code>curl -K myfile.txt</code>, and get the output of the response cURL returns, into a file.</p>
  <p>How can I do this?</p>