I am attempting to use the "Revert To Current Snapshot" functionality in the REST API and I am failing.
The documentation says that you send a POST request with no body to this URL (replacing the base URL as appropriate):
This is what I am getting back.
Status code : 500 Method failed: HTTP/1.1 500 Internal Server Error
status code: 500
response: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Error in assertion processing</faultstring>
<faultactor>https://api.base.com/vApp/vapp-11436a53-0b7d-481c-9c25-d5d394807ca3/action/revertToCurrentSnapshot</faultactor>
<detail>
<l7:policyResult status="null content type header value" xmlns:l7="http://www.layer7tech.com/ws/policy/fault"/>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
I have been setting my content type to blank since there is no body... the documentation says nothing about setting the content type for this call. What am I doing wrong?