title: Sending post request to API with multipart content-type
body: <p>I am trying to send a post request though an api. The call requires:</p>
  
  <pre><code>content-type: multipart/form-data; boundary=[boundary_number]
  </code></pre>
  
  <p>I have used Charles HTTP proxy to watch see what headers/content I need to send.</p>
  
  <p><a href="https://i.stack.imgur.com/BKCqw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BKCqw.png" alt="charles"></a></p>
  
  <p><strong>My Request: (basically copied from Charles' multipart section)</strong></p>
  
  <pre><code>--324a08fa-6b58-424a-a1ad-691123d9d04b
  Content-Disposition: form-data; name="message[body]"
  Content-Transfer-Encoding: binary
  Content-Type: text/plain; charset=utf-8
  Content-Length: 5
  
  Text!
  --324a08fa-6b58-424a-a1ad-691123d9d04b--
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/flNsJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/flNsJ.png" alt="postman"></a></p>
  
  <p>** My Headers:** 
  <a href="https://i.stack.imgur.com/MDew5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MDew5.png" alt="headers"></a></p>
  
  <p><strong>My Result:</strong></p>
  
  <p>When I post this in postman, the response just displays 'Loading'</p>
  
  <p>I can't seem to satisfy the content I was wondering if anyone can point me in the right direction.</p>
  
  <p>Any help would be greatly appreciated!
  Cheers!</p>