EnelGy Posted May 17, 2021 Report Share Posted May 17, 2021 Currently, I am using vue.js and want to ask if is it possible to fetch users inventory using axios -> when i try this, it gives me these errors If is there any other way to achieve loading users inventory using vue/axios, please suggest me Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 18, 2021 Report Share Posted May 18, 2021 Not possible due to the Same-Origin Policy. You'll need to proxy those requests through a server. Quote Link to comment Share on other sites More sharing options...
EnelGy Posted May 18, 2021 Author Report Share Posted May 18, 2021 So this only doesn't work on localhost ? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted May 20, 2021 Report Share Posted May 20, 2021 No, it doesn't work anywhere. Quote Link to comment Share on other sites More sharing options...
EnelGy Posted May 21, 2021 Author Report Share Posted May 21, 2021 okay, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.