title: NODE JS + Postman : Cannot PATCH URL
body: <p>Consider the code :</p>
  
  <pre><code>const fs = require('fs');
  const express = require('express');
  const app = express();
  const bodyParser = require('body-parser')
  
  // use middleware
  app.use(express.json());
  app.use(bodyParser.json());
  
  const fileLocation = `${__dirname}/dev-data/data/tours-simple.json`;
  const theTours = JSON.parse(fs.readFileSync(fileLocation));
  
  app.patch('api/v1/tours/:id', (req, res) =&gt;{
    if (req.params.id * 1 &gt; theTours.length) {
      return res.status(404).json({
        status: 'fail',
        message: 'Invalid ID'
      });
    }
  
    res.status(200).json({
      status: 'success',
      data: {
        tour: '&lt;Updated tour here ...&gt;'
      }
    });
  });
  
  const port = 3000;
  app.listen(port, () =&gt; {
    console.log(`App is running on port ${port}`);
  });
  </code></pre>
  
  <p>When I try to PATCH from Postman the URL : </p>
  
  <pre><code>Action PATCH 
  URL : 127.0.0.1:3000/api/v1/tours/3
  </code></pre>
  
  <p>Sending raw : </p>
  
  <p><a href="https://i.stack.imgur.com/EdYwL.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EdYwL.gif" alt="enter image description here"></a></p>
  
  <p>I get this : </p>
  
  <p><a href="https://i.stack.imgur.com/mUDcB.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mUDcB.gif" alt="enter image description here"></a></p>
  
  <p>Why is it happening ? Where did I go wrong ? </p>