title: How do I document a multipart request with apiary?
body: <p>I want to document a multipart request like the following:</p>
  
  <pre><code>Content-Length: 477
  Content-Type: multipart/form-data; boundary=---BOUNDARY
  
  -----BOUNDARY
  Content-Disposition: form-data; name="image[file]"; filename="image.jpg"
  Content-Type: image/jpeg
  Content-Transfer-Encoding: base64
  
  /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
  HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
  MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIA
  AhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEB
  AAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AL+AD//Z
  -----BOUNDARY--
  </code></pre>
  
  <p>A <code>curl</code> to reproduce this same request would be something like:</p>
  
  <pre><code>curl -F "image[file]=@file.jpg" http://localhost/images
  </code></pre>