action #159384
Updated by okurz 9 months ago
## User story
Let's allow other web applications to use the openQA API.
Currently, web applications refuse to use the openQA API, because the CORS `Access-Control-Allow-Origin` header is not set. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Suggestion:
* Add `Access-Control-Allow-Origin: *` (or more restrictive) to the http header
## Acceptance criteria
* **AC1:** Web-Applications can Allow any Web-Application to access the openQA API from web Web browsers, e.g. accessing https://openqa.suse.de/api/v1/jobs/14165616
## Suggestion
* Add `Access-Control-Allow-Origin: *` (or more restrictive) to the http header
## Further details
* https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Back