I am trying to use the Database.com REST API to update a record in my database.
Using the REST explorer in my workbench it always gives me an HTTP error (400 bad request) + some HTML that says: We are down for maintenance. Sorry for the inconvenience. We'll be back shortly.
I also get the same error using other REST clients.
The odd thing is that it is only occurring with the update method. GET and Query work perfectly...
What I have in the rest explorer: (I left out my ID numbers)
Methodurl: /services/data/v26.0/sobjects/Album__c/{albumid}
Request headers:
Content-Type: application/json; charset=UTF-8
Accept: application/json
Request body:
{"Name":"Schoppen aas"}
Thanks for any suggestions!