title: How to receive Angular $http post multipart form data in Grails
body: <p>How to receive angular $http post multipart form data from Grails. Here I have sent multipart form data from Angular controller to the Grails. I am new to Grails.</p>
  
  <p>Anyone can give me guidance to retrieve-boundary data. I don't Know exactly it's correct form to receive image file data with some input data also.</p>
  
  <p><strong>Request headers in browser's network console:</strong></p>
  
  <pre><code>Provisional headers are shown
  Accept:application/json, text/plain, */*
  Content-Type:multipart/form-data; boundary=----    
  WebKitFormBoundary0p6R8BecvYqzcbMK
  Origin:file://
  User-Agent:Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us)        
  AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465     Safari/9537.53
  Request Payload
  ------WebKitFormBoundary0p6R8BecvYqzcbMK
  Content-Disposition: form-data; name="rackImage"; filename="PhoneGap.png"
  Content-Type: image/png
  
  
  ------WebKitFormBoundary0p6R8BecvYqzcbMK
  Content-Disposition: form-data; name="storeNo"
  
  HD1304
  
  ------WebKitFormBoundary0p6R8BecvYqzcbMK
  Content-Disposition: form-data; name="rackQty"
  
  12
  ------WebKitFormBoundary0p6R8BecvYqzcbMK--
  </code></pre>