Express App Post Request
<p>I am having an odd issue making a POST request to my express app.</p>

<p>I have tested the API using <a href="https://www.getpostman.com/" rel="nofollow">Postman</a> however when I copy the request code from Postman either the AJAX or XHR the request fails and the express app returns an undefined express body.</p>

<p>The console on the site spits out the following:</p>

<pre><code>Resource interpreted as Document but transferred with MIME type application/json
</code></pre>

<p>The request looks like this (AJAX):</p>

<pre><code>var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://thedomainhere.com/hello",
  "method": "POST",
  "headers": {
    "content-type": "application/json",
    "cache-control": "no-cache",
    "postman-token": "0158785a-7ff5-f6a3-54ba-8dfc152976fc"
  },
  "data": {
    "senderEmail": "hello@hello.com"
  }
}

$.ajax(settings).done(function (response) {
  console.log(response);
});
</code></pre>

<p>Why would this work on Postman and in the console using Curl, but not from a web document?</p>