title: SendGrid using NodeJS with Fetch - 400 Bad Request
body: <p>I'm getting a 400 Bad Request from the SendGrid Web API when I'm trying to send the following request to SendGrid via fetch with NodeJS:</p>
  
  <pre><code> var emailBody = {
   "personalizations":[
      {
         "to":[
            {
               "email":"some_email@gmail.com"
            }
         ]
      }
   ],
   "from":{
      "email": "some_email@gmail.com"
   },
   "subject": "Send Grid",
   "content": [
      {
         "type":"text/plain",
        "value": "Send Grid msg"
      }
   ]
  };
  
  var emailOptions = {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer ' + [API_Key],
    'content-type': 'application/json'
  },
  body: emailBody
   };
  fetch(sendGridUrl, emailOptions)
  </code></pre>
  
  <p>The request works in Postman using the same payload.</p>