title: Vue: Unhandled promise rejection Error: Request failed with status code 404？
body: <p>My API url is <a href="http://localhost:5000/api/user/list" rel="nofollow noreferrer">http://localhost:5000/api/user/list</a>, data shows as:</p>
  
  <pre><code>[{"Id":1,"name":"Michael","pwd":"123456","age":0,"birth":"2018-01-05","addr":"''"},{"Id":2,"name":"Jack","pwd":"123512616","age":0,"birth":"2018-01-05","addr":"''"}]
  </code></pre>
  
  <p>User.vue</p>
  
  <pre><code>import axios from 'axios';
  export default {
      data() {
          return {
              filters: {
                  name: ''
              },
              loading: false,
              users: [
              ]
          }
      },
      methods: {
          getUser: function () {
              axios.get('http://localhost:5000/api/user/list', function (data) {
                  this.$set('users', data);
              })
  }
      },
      mounted() {
          this.getUser();
      }
  });
  </code></pre>
  
  <p>The error is :
  Unhandled promise rejection Error: Request failed with status code 404(…)</p>
  
  <p>How can I fix it?</p>