title: Axios PUT request to server
body: <p>I read the documentation on axios on PUT request and it seems similar to a GET request. However, there wasn't an example code like GET, but I assume it is similar to how to do a GET request. I seem to have issue making a PUT request using axios. This is what I have so far with a test server that I am using:</p>
  
  <pre><code>axios.put('http://localhost:8080/cats')
    .then(res =&gt; {
      this.setState({
        cat: res
      });
    })
    .catch((err) =&gt; {
      console.log(err);
    })
  </code></pre>
  
  <p>Basically, I am trying to select an item and make changes to it.</p>