Axios PUT request to server
问题 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: axios.put('http://localhost:8080/cats') .then(res => { this.setState({ cat: res }); }) .catch((err) => { console.log(err); }) Basically, I am trying to select an item and make changes to