title: How to frame the rest assured script for a post request based on CURL
body: <p>I need to convert the below curl command into rest-assured POST request.
  Can someone help me out</p>
  
  <pre><code>curl -ks --http1.0 -X POST "$server?format=pdf&amp;tid=TD1" --cookie "INTERSET_SESSION=$access_token" -H 'content-type: multipart/form-data' -F 'template=@../templates/dashboard.hbs' -o output.pdf
  </code></pre>
  
  <p>The parameter <code>template=@../templates/dashboard.hbs</code> holds a file.</p>