title: Postman giving the unintended result for my RESTful API POST
body: <p>I am new to RESTful APIs and I've successfully implemented the GET and DELETE command for my API (GET localhost:4000/api, DELETE localhost:4000/api on Postman works fine). When I try to POST my API, I am expecting it to give me a format of</p>
  
  <pre><code>{
      "message": "OK",
      "data": [
          {
              result goes here
          }
  }
  </code></pre>
  
  <p>But when I POST it, it only gives me the result itself</p>
  
  <pre><code>{
      "__v": 0,
      "name": "clean room",
      "description": "to clean my room",
      "completed": false,
      "deadline": "1970-01-01T00:00:02.017Z",
      "_id": "59fb9522a3617147904a20ed",
      "dateCreated": "2017-11-02T21:58:58.163Z",
      "assignedUserName": "unassigned",
      "assignedUser": ""
  }
  </code></pre>
  
  <p>My code for POST looks like:</p>
  
  <pre><code>router.post('/', function(req, res){
  
      var newTask = new task(req.body);
  
      newTask.save(function(err, tasks){
  
          if(err) {
              res.status(404).send({
                  message: err,
                  data: []
              });
          } else {
              res.status(201).send({
                  message: 'OK',
                  data: res.json(tasks)
              });
          }
      })
  });
  </code></pre>
  
  <p>It posts the API correctly, but I want to give the right format as I stated above.</p>