Restlet component is URL encoding the POST message body. It should encode it based on content-type request header. -------------------------------------------------------------------------------------------------------------------
Key: CAMEL-2638 URL: https://issues.apache.org/activemq/browse/CAMEL-2638 Project: Apache Camel Issue Type: Bug Components: camel-restlet Affects Versions: 2.1.0 Environment: Windows XP Reporter: Rich Bolen I attempted to POST a JSON document to couchdb via restlet. The post fails with and "Invalid JSON format" error from couchdb. This is because the POST data was being URL encoded which substitutes %XX sequences for all the curly braces. I believe the encoding should be done based on the content-type header, or possibly not at all for POST requests. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira