Does the DSC provide CORS support? #106
Unanswered
logicalfarhad
asked this question in
Q&A
Replies: 0 comments 1 reply
-
Same here. In our case, the API is behind basic auth credentials and even the preflight requests fails with a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there
I am currently trying to make a web application using angular js. I am trying to consume the api's described in the swagger api documentation. My application is running on port 4200 and IDS running on port 8080. When I want to make a post request to api/offers with authentication header I am getting the following error:
Access to XMLHttpRequest at 'https://localhost:8080/api/offers' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Am I missing something here? Thanks in advance :)
Best Regards
Farhad
Beta Was this translation helpful? Give feedback.
All reactions