Rest Cache

URL:
https://<root>/system/handlers/rest/cache
Methods:
POST
Required Capability:
Access allowed with the "Security and Infrastructure" privilege
Version Introduced:
10.1

Description

The cache operation clears the the in-memory cache built by the REST handler.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the cache operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/system/handlers/rest/cache HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

folderName=Maps&serviceName=Test&type=MapServer&f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.