title: Json Request in node js
body: <p>I tried this code in node js:</p>
  <pre><code>const express = require('express');
  
  const bodyParser = require('body-parser');
  
  const app = express();
  
  app.use(express.urlencoded({extended: false}))
  app.use(express.json())
  
  
   app.post(&quot;/Picture&quot;, (req, res, next) =&gt; {
  
  
          if(req.body == { aaa: 'aaa'}){
  
              res.send(body)
              console.log(&quot;well done!!!!&quot;)
             
  
          }
  
  
        
      })
  
  
  </code></pre>
  <p>I want when user enter in body this json object { aaa: 'aaa'} then get response but this code not work I dont know how i can make user can only send specific json objects</p>