- URL:
- https://<root>/system/handlers/soap/soaphandlerconfig/edit
- Methods:
POST- Required Capability:
- Access allowed with the "Security and Infrastructure" privilege
- Version Introduced:
- 11.0
Description
The edit operation allows you to restrict cross-domain requests to specific domains, including SOAP and OGC service requests. By default, no domains are restricted.
Request parameters
| Parameter | Details |
|---|---|
| A comma-separated list of URLs of domains allowed to make requests. The default value, Example |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the edit operation, which modifies the allowed parameter to include a list of URLs:
POST /webadaptor/admin/system/handlers/soap/soaphandlerconfig/edit HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
allowedOrigins=https://gisserver1.example.com,https://gisserver2.example.com&f=pjsonJSON Response example
{"status": "success"}