title: Send cookies with curl
body: <p>I am using curl to retrieve cookies like so:</p>
  
  <pre><code>curl -c cookies.txt url
  </code></pre>
  
  <p>then I parse the cookie I want from the cookies.txt file and send the request again with the cookie</p>
  
  <pre><code>curl -b "name=value" url 
  </code></pre>
  
  <p>Is this the correct way to send the cookie?
  Is there a simpler way?</p>