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.
This seems to happen with any API call I make that has a POST and no body.
Well apparently you have to specify a body and content type despite it saying you don't. So this works:
content type: application/xml
Body: <?xml version="1.0" encoding="UTF-8"?> <Foobar></Foobar>
This is definitely a bug in the API.
You have to have a content type specified that has a slash in it ("application/xml" without quotes works fine). You also have to have a valid XML body.