title: Getting cannot POST / error in Express
body: <p>I have a RESTful API that I am using postman to make a call to my route /websites. Whenever I make the call, postman says "Cannot POST /websites". I am trying to implement a job queue and I'm using Express, Kue(Redis) and MongoDB.</p>
  
  <p>Here is my routes file:</p>
  
  <pre><code>'use strict';
  module.exports = function(app) {
  // Create a new website
  const websites = require('./controllers/website.controller.js');
  app.post('/websites', function(req, res) {
    const content = req.body;
    websites.create(content, (err) =&gt; {
      if (err) {
        return res.json({
          error: err,
          success: false,
          message: 'Could not create content',
        });
      } else {
        return res.json({
          error: null,
          success: true,
          message: 'Created a website!', content
        });
      }
    })
  });
  }
  </code></pre>
  
  <p>Here is the server file: </p>
  
  <pre><code>const express = require('express');
  const bodyParser = require('body-parser');
  const kue = require('kue');
  const websites = require('./app/routes/website.routes.js')
  kue.app.listen(3000);
  
  var app = express();
  
  const redis = require('redis');
  const client = redis.createClient();
  client.on('connect', () =&gt;{
    console.log('Redis connection established');
  })
  
  app.use('/websites', websites);
  </code></pre>
  
  <p>I've never used Express and I have no idea what is going on here. Any amount of help would be great!!
  Thank you!</p>