title: Javascript Fetch not getting a response
body: <p>I'm invoking an authentication service via javascript fetch to get an access token.  The service is a simple RESTful call.  I can see the call is successful using fiddler (with a 200 response and json data).  However the fetch response never seems to get invoked.  Below is a snippet:</p>
  
  <pre><code>const AUTHBODY = `grant_type=password&amp;username=${username}&amp;password=${password}&amp;scope=roles offline_access profile`
  const AUTHHEADER = new Headers({'Content-Type': 'application/x-www-form-urlencoded'})
  
  const CONFIG = {
      method: 'POST',
      headers: AUTHHEADER,
      body: AUTHBODY
  }
  
  fetch('http://localhost:23461/connect/token', CONFIG).then(function(response) {
      console.log('response = ' + response)
      return response.json()
  }).then(function(json) {
      console.log('json data = ' + json)
      return json
  }).catch(function(error) {
      console.log('error = ' + error)
  })
  </code></pre>
  
  <p>When executing the fetch above none of the console.logs gets executed... seems to just hang.  But fiddler tells otherwise.  Any ideas?</p>