Why is Hapi.js POST handler returning an empty payload?
<p>I have a Hapi route that accepts a POST call, but the <code>request</code> returns a <code>null</code> value for the payload.</p>

<pre><code>server.route({
    method: ['POST', 'PUT'],
    path: '/create_note',
    handler: function (request, reply) {
        console.log(request.payload); // returns `null`
        return reply(request.payload);
    }
});
</code></pre>

<p>I'm using Postman to send a POST call to <code>http://localhost:8000/create_note?name=test</code>.</p>

<p>In the handler function, <code>console.log(request.payload)</code> returns <code>null</code>.</p>

<p>Am I doing something wrong?</p>