Updating Separators
|
|
I finally got deleting separators to work. The trick was setting the Accept HTTP header to application/xml. However, I’m still having problems updating separators. I’m trying to update a separator so I’m doing a PUT request to /page/#{pageID}/separators/#{id}.xml. Everything looks correct but I’m getting a 405 error back which means Resource Not Allowed. Reading the HTTP specs leads me to believe that the server doesn’t accept the PUT method, yet the API docs say that is what we are supposed to do. Is this a bug or am I missing something? I’ve tried just doing a POST, but that doesn’t work either. When I do a POST I get back a status code of 500 which is an Interal Server Error. Either there is a bug in the API or the documentation is not accurate. |
