CorsPluginContent
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
allow_origin |
Yes |
String |
Access-Control-Allow-Origin header, which specifies the origins that are allowed to access the resource. For requests that do not need to carry an identity credential, enter an asterisk (*) to allow requests from all origins. Separate multiple domain names using commas. |
|
allow_methods |
No |
String |
Access-Control-Allow-Methods header, which specifies the HTTP methods that can be used in a request. Use commas (,) to separate multiple methods. |
|
allow_headers |
No |
String |
Access-Control-Allow-Headers header, which specifies the header fields that can be carried in a request. Use commas (,) to separate multiple header fields. |
|
expose_headers |
No |
String |
Access-Control-Expose-Headers header, which specifies the header fields that can be exposed to the server. Use commas (,) to separate multiple header fields. |
|
max_age |
No |
Integer |
Access-Control-Max-Age header, which specifies how long the results of a preflight request can be cached. Value range: 0s to 86,400s. No more preflight requests are needed within the period. |
|
allow_credentials |
No |
Boolean |
Access-Control-Allow-Credentials header, which specifies whether to allow the browser to read the response content. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot