Last updated：2021-04-28 11:04:01
Cross-Origin Resource Sharing (CORS) is a standard cross-origin solution provided by HTML5. CORS allows applications on the WEB side to access resources that do not belong to the origin. Developers can use the interfaces provided by KS3 to control the permissions for cross-origin access and develop flexible Web applications.
Set the origin that allow cross-origin requests. Multiple domain names are separated by English commas.
Set the allowed cross-origin request methods, including: GET, POST, DELETE, PUT and HEAD
Set the allowed cross-origin request Headers. Multiple Headers are separated by English commas.
Set the response Header that allows access from applications.
Set the cache time of the browser for returned results from OPTIONS requests for specific resources.
Note: KS3 will match the CORS rules in the corresponding Bucket according to the cross-origin request, and check against the permissions set by the rules. Rules are matched one by one; and based on rules, to allow the requests and return the corresponding headers.
Did you find the above information helpful?
Please give us your feedback.
Thank you for your feedback.