title: How to use curl multipart form data to post array field from command line ?
body: <p>Using curl request</p>
  
  <pre><code>curl -v -X PATCH -H "Content-Type:multipart/form-data" -H "Accept:application/json" -H "Auth-token:abcde" -F "first_name=snme" -F 'tags[]=chec' -F 'tags[]=chec2' http://example.com/api/users/1
  </code></pre>
  
  <p>I want to post tags as an array. So parsing the request i should get <code>tags = ['check' , 'check2']</code>  etc.</p>
  
  <p>What I get now is <code>{"tags[]" = "chec"}</code></p>