title: How can i implement axios delete request for a specific Item?
body: <p>I am using axios in ReactJs and I send a DELETE request to my server.</p>
  <p>Here is my code:</p>
  <pre><code>axios
  .delete(`${REACT_API_URL}/news/${id}`, {
                  headers: { &quot;x-access-token&quot;: localStorage.getItem(&quot;token&quot;) },
              })
              .then(res =&gt; console.log(res))
  </code></pre>
  <p>And Here is my server code:</p>
  <pre><code>const getNewsByIdAndDelete = async (req, res) =&gt; {
      const token = req.headers[&quot;x-access-token&quot;];
      try {
          const decoded = jwt.verify(token, &quot;secret&quot;);
          await News.findByIdAndDelete(req.params.id);
          res.json({ status: &quot;success&quot; });
      }
  </code></pre>
  <p>I am not getting any response from the server.</p>
  <p>Thanks in advance!</p>