title: Excel web addin unable to complete GET request
body: <p>I am creating an Excel web addin that needs to talk to an API (plumber api running behind nginx in a local container).</p>
  <p>As a first try, I attempted a GET request to see how I would receive the results from the API.</p>
  <p>My first attempt was to use $.getJSON (I also tried the ajax call directly):</p>
  <pre><code>  $.getJSON(&quot;https://localhost/textcat?txt=Wat%20gaan%20aan&quot;)
      .done(function(result) {
        writevalue(`result: ${JSON.stringify(result)}`);
      })
      .fail(function(error){
        writevalue(`err: ${error.statusText}`);
      }) 
  </code></pre>
  <p>My latestvattempt was to use axios:</p>
  <pre><code>axios.get('https://localhost/textcat?txt=hello')
  .then(function(response){
    writevalue(`result: ${response}`);
  })
  .catch(function(error){
    writevalue(`result: ${error}`);
  }) 
  </code></pre>
  <p>Both result in a &quot;NetworkError&quot;</p>
  <p><a href="https://i.stack.imgur.com/FbGDm.png" rel="nofollow noreferrer">Debugging</a></p>
  <p>According to fiddler the API was reached and it did respond with my test response (Response: 200):
  <a href="https://i.stack.imgur.com/Posqh.png" rel="nofollow noreferrer">Fiddler results</a></p>
  <p>I realise that I must be missing something important, but I am just not seeing it. I would appreciate any insights or pointers that you might have.</p>