action #159384
Updated by ph03nix 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: ## Acceptance criteria * Add `Access-Control-Allow-Origin: *` (or more restrictive) to the http header ## Acceptance criteria * Allow any Web-Application to access the openQA API from Web browsers, e.g. accessing https://openqa.suse.de/api/v1/jobs/14165616 ## Further details * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin