This is the code I've written so far to get data using axios.
What am I doing wrong?
constructor(props) {
  super(props);
  this.state = {
    user_list: []
  };
}
componentDidMount() {
  axios
    .get("http://192.168.1.35:3012/user_list", {})
    .then(function(response) {
      var datalist = response.data[0];
      this.state({ user_list: response.data });
    })
    .catch(function(error) {
      console.log(error);
    });
}
 
    