title: Handling multipart/form-data on API Gateway/Lambda
body: <p>I tried few methods, not able to get it working.</p>
  
  <p>Client side(React), I am sending a zip file as follows using POST,</p>
  
  <pre><code>const data = new FormData();
          data.append('file', file);
          data.append('filename', file.name);
  
  let params = {
              headers: {
                  'Content-Type': 'multipart/form-data'
              },
              body: data
          };
  </code></pre>
  
  <p>Server side:(API Gateway/Lambda/Nodejs)
  I added 'multipart/form-data' to Binary Media Type on Gateway side.</p>
  
  <p>When parsing through lambda event.body is not well formed. 
  It looks like this:</p>
  
  <pre><code>{"body": "e30=",
  "isBase64Encoded": true }
  </code></pre>
  
  <p>Any ideas what might be happening? Any takes on how to parse?</p>