title: Apollo Server 2 + Express: req.body missing on post handler
body: <p>Had this working in version 1, but the whole server config has changed.  This is what I have, after adding bodyparser() to the express app as was suggested by Daniel in the comments:</p>
  
  <pre><code>    const server = new ApolloServer({
      typeDefs,
      resolvers,
      playground: {
          settings: {
              'editor.theme': 'light',
          }
      },
  })
  
  // Initialize the app
  const app = express();
  app.use(cors())
  app.use(bodyParser.json())
  
  server.applyMiddleware({
      app
  })
  
  app.post('/calc', function(req, res){
      const {body} = req;
  
      console.log("HOWDYHOWDYHOWDY", body) // &lt;== body is {}
  
      res.setHeader('content-type', 'application/json')
  
      calculate(body)
          .then(result =&gt; res.send(result))
          .catch(e =&gt; res.status(400).send({error: e.toString()}))    
  })
  </code></pre>
  
  <p>The request body is never making it to the app.post handler, though the handler is called. I see it going out from the browser, though.  Any ideas?</p>
  
  <p><strong>Update:</strong>  Daniel had the correct answer, but I had another problem in the request headers I was using.  Once I fixed that, then the post handler received the body.  </p>