title: How to submit a form (add a subscriber) by mailchimp-api-v3 in Node.js?
body: <p>I were using <a href="https://github.com/revolunet/react-mailchimp-subscribe/blob/master/src/index.js#L23-L27" rel="nofollow noreferrer">a hack way by jsonp</a> to submit form (add a subscriber) in front end before (because Mailchimp only provide API for back end).</p>
  
  <p>Now I want to switch to back end to use Mailchimp API. I am using a library called <a href="https://github.com/thorning/node-mailchimp" rel="nofollow noreferrer">mailchimp-api-v3</a> to simplify the work.</p>
  
  <p>This list only has three fields, which are <code>FNAME</code>, <code>EMAIL</code>, and <code>COMPANY</code>. </p>
  
  <pre><code>const Mailchimp = require('mailchimp-api-v3');
  
  const mailchimp = new Mailchimp(myMailchimpAPI);
  
  mailchimp.post(`/lists/${myListId}/members`, {
    FNAME: 'Jack',
    EMAIL: 'jack@example.com',
    COMPANY: 'Apple'
  })
  .then(res =&gt; console.log(res))
  .catch(err =&gt; console.log(err));
  </code></pre>
  
  <p>This gives me error:</p>
  
  <blockquote>
    <p>[ { field: 'email_address', message: 'This value should not be blank.'
    } ] }</p>
  </blockquote>