Home > front end >  Vue: axios. Why always get access to fail? I also want to pay attention to what place?
Vue: axios. Why always get access to fail? I also want to pay attention to what place?

Time:11-06

New learning vue

With axios. Get access to the server's webapi has failed, prompt network error

Webapi I made of asp.net core, iis, web pages can directly access to, the feeling should not have what problem


I still have what problem not to notice? Beg god give directions!

CodePudding user response:

Suggest you transfer request separate crazy, like you write

CodePudding user response:

Did you request a cross-domain

CodePudding user response:

With Chrome, reference: Google browser cross-domain solution
  • Related