Discussions
- General Development
- Schema Development
- Apex Code Development
- Visualforce Development
- Formulas & Validation Rules
- Security
- Mobile
- Force.com Sites & Site.com
- Chatter Development
- Java Development
- .NET Development
- Perl, PHP, Python & Ruby
- Desktop Integration
- APIs and Integrations
- Visual Workflow
- Apple, Mac and OS X
- VB and Office Development
- AppExchange Directory & Packaging
- Salesforce Labs & Open Source Projects
- Other Salesforce Applications
- Jobs Board
- Force.com Discussion Boards
- :
- Developer Boards for Force.com and Database.com
- :
- .NET Development
- :
- Database.com REST service with ASP.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Database.c om REST service with ASP.NET
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-26-2012 02:10 AM
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 (external) REST clients.
The odd thing is that it is only occurring with the update method (PATCH). the Get and Query method work perfectly...
What I have entered in the rest explorer is the following: (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!

