- URL:
- https://<root>/services/exists
- Methods:
POST
- Required Capability:
- Access allowed with any authorized privilege
Description
The exists
operation checks if a folder or service already exists on the server.
Request parameters
Parameter | Details |
---|---|
| The name of the folder. Example
|
| The name of the service. Example
|
| The type of the service. |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the exists
operation:
POST /webadaptor/admin/services/exists HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
folderName=Maps&serviceName=Test&type=MapServer&f=json
JSON Response example
{"exists": true}