title: Artillery.io - POST binary data
body: <p>How would you send a POST request via artillery with binary data? More specifically I'm trying to do a batch request and have artillery read from the file for the body</p>
  
  <p>I did see in the docs I need to use a custom JS function, but can't seem to get it to correctly pass back the values to artillery:</p>
  
  <p><a href="https://artillery.io/docs/http-reference/#advanced-writing-custom-logic-in-javascript" rel="nofollow noreferrer">https://artillery.io/docs/http-reference/#advanced-writing-custom-logic-in-javascript</a></p>