I'm using axios to make a axios.get call in my redux action.js file.
In my component this action is performed on form submission.
I'm getting status 200
in my console but not getting any response back.
I'm getting the following error:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http:\\localhost:3000' is therefore not allowed access.
Has anybody came across such error too? Would you please share on how to resolve this.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…