title: Delete Request in react not deleting
body: <p>So I am trying to do a delete method in React on the front end UI I get the 200 ok request but I may be doing something wrong so here is my front end and back end code and screen shot of the Ui</p>
  
  <p><a href="https://i.stack.imgur.com/JSs6d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JSs6d.png" alt="enter image description here"></a></p>
  
  <pre><code> front end
  
  
  
  
  import React, {Component} from 'react';
      import './App.css';
      import axios from 'axios';
      export default class TableRow extends Component {
      constructor(props) {
        super(props);
       this.deletestudent = this.deletestudent.bind(this);
      }
         deletestudent(student_id) {
  
       axios.post('http://localhost:3200/students/deleteStudent')
       .then(console.log('Student Deleted'))
       .catch(err =&gt; console.log(err));
     }
    render(){
      return(
        &lt;tr&gt;
              &lt;td&gt;{this.props.object._id}&lt;/td&gt;
              &lt;td&gt;{this.props.object.role_num} &lt;/td&gt;
               &lt;td&gt;{this.props.object.first_name}&lt;/td&gt;
              &lt;td&gt;{this.props.object.last_name}&lt;/td&gt;
              &lt;td&gt;&lt;button className = 'btn-btn-danger'&gt;Update&lt;/button&gt; &lt;/td&gt;
              &lt;td&gt;&lt;button onClick={this.deletestudent} className = 'btn-btn-danger' color='blue'&gt; Remove&lt;/button&gt;&lt;/td&gt;
       &lt;/tr&gt;
      );
    }
  }
  </code></pre>
  
  <p>back end </p>
  
  <pre><code>second.post('/students/deleteStudent', (req, res) =&gt; {
  
     res.send('delete student'+req.body._id);
      try {
       db.collection('students').deleteOne( { "_id" : ObjectID(req.body._id) } );
    } catch (e) {
     console.log(e);
    }
       res.send('delete student');
    });
  </code></pre>
  
  <p>Also when I click on the response I get delete student undefined do I need to change my back end I know I need to delete by id but can not figure out how  </p>