saitama
2 years agoOccasional Visitor
Swagger for Backend Api to a React App
Hello everyone, i was given a docker image which after running
docker-compose up
I got a link leading me to a Swagger UI API.
Upon inserting the link in my Axios create baseUrl
I got an error in my browser that access to XMLHttpRequest at <API_URL> from origin <LOCAL_URL> has been blocked by CORS policy : No 'ACcess-Control-Allow-Origin' header is present on the requested resource.
help me it's really time-sensitive, I'm quite unfamiliar with server/client connection