title: Nuxt application using Express won't allow POST routes to be hit externally of application
body: <p><strong>Background</strong></p>
  
  <p>I have a NUXT application that renders vue templates as you would expect. I have a need to hit some Express routes in the application from external applications client side. </p>
  
  <p>I can hit GET routes from external applications but POST requests fail with a error 404.</p>
  
  <p><strong>Example</strong></p>
  
  <p><em>Express</em></p>
  
  <p><em>This works</em> </p>
  
  <pre><code>router.get('/test/get', (req, res, next) =&gt; {
    res.json({ message: "Global PDF Generator is configured correctly", status: "operational" })
  });
  </code></pre>
  
  <p><em>This fails with 404</em></p>
  
  <pre><code>router.post('/test/post', (req, res, next) =&gt; {
    res.json({ message: "Global PDF Generator is configured correctly", status: "operational" })
  });
  </code></pre>
  
  <p>Inside of the Nuxt application and within any of the vue components I can hit the POST routes like this, </p>
  
  <pre><code>fetch('api/v1/pdf', { method: 'POST' }
  </code></pre>
  
  <p>But if we try to do something like this it fails, </p>
  
  <pre><code>fetch('localhost:3000/api/v1/pdf', { method: 'POST' }
  </code></pre>
  
  <p>The second example is important because obvioulsy that is how I would have to hit an end point in this application from an outside application. </p>
  
  <p>What I can not figure out is why the GET requests work and do not get a 404 while the POST requests continue to get a 404 from external applications.</p>
  
  <p><strong>Question</strong></p>
  
  <p>How can I create an externally accessible Express POST end point in my NUXT application so that it will be directly accessible from an external source?</p>