title: Viewing body of POST request using curl
body: <p>I'm making an HTTP POST request using <code>curl</code> like this:</p>
  
  <pre><code>curl -v -i -d 'var=something' 'http://mysite.com/whatever.json'
  </code></pre>
  
  <p><strong>How can I see the body of the outgoing request?</strong></p>
  
  <p>Motivation: I'm debugging an Objective-C HTTP library. POST requests that are failing in this library are working from the Terminal using <code>curl</code>. I think comparing the bodies of the requests will help debug.</p>