REST API Reference > Calling APIs through the proxy
  

Calling APIs through the proxy

You send API requests in a Customer Managed environment through the Secure Agent proxy.
All requests sent through /rm/<product-api-path> automatically forward to the appropriate backend service on the Secure Agent. Requests and responses are relayed verbatim.
You can use the following methods in your API calls: GET, POST, PUT, DELETE, PATCH
Before you can call APIs, ensure that you've met the following conditions:

API call

Use the appropriate method with this API call:
<METHOD> https://<agent-host>:9443/rm/<product-api-path>
RM-USER-TOKEN: <token>
The following is a curl example using GET:
curl -sk -X GET https://<agent-host>:9443/rm/<product-api-path> \
-H "RM-USER-TOKEN: <token>"
The following is a curl example using POST:
curl -sk -X POST https://<agent-host>:9443/rm/<product-api-path> \
-H "RM-USER-TOKEN: <token>" \
-H "Content-Type: application/json" \
-d '{"key":"value"}'