Vue2.0 acquires the data of all the songs on QQ Music's web

I configured prxyTable:
const proxyTable = {
"/ musichall": {

in webpack.dev.conf.js and index.js with vue-resorce
target: "https://c.y.qq.com",
changeOrigin: true,
pathRewrite: {}

},
"/ splcloud": {

target: "https://c.y.qq.com",
changeOrigin: true,
pathRewrite: {}

}

}
write the method on the page where you want to get the data:
requsetAllList () {

  var api = "/splcloud/fcgi-bin/fcg_yqqhomepagerecommend.fcg"
  this.$http.get(api).then(
    response => {
      console.log(response)
      // this.allList = response.body.data.slider
    },
    error => {
      console.log(error)
    }
  )
}

clipboard.png
Why can"t you get this? the rookie just touched it and didn"t quite understand it. Thank you
for trying to get both vue-resorce and axios wrong

.
Apr.07,2021

404 can't be found, url error


404, prove your url wrong. And why your url is xxxx.fcg .


Agent configuration problem, thank you

Menu