Swagger for Backend Api to a React App
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2022
02:26 PM
06-06-2022
02:26 PM
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
Labels:
- Labels:
-
Swagger Editor
-
Swagger UI
0 REPLIES 0
