title: How to filter Axios get results
body: <p>I have a search bar set up, and what i am trying to do is that when you search for something it will do an axios get call, it will filter through all the results and give you only what you are searching for.</p>
  
  <pre><code>axios.get("api/blogs/" + this.state.pageIndex + "/10").then(res =&gt; {
    res.filter(function(author) {
      return author.firstName === this.state.query;
    });
  });
  </code></pre>
  
  <p>I am using react.</p>