[
https://issues.apache.org/jira/browse/AMQ-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Robison updated AMQ-4668:
-------------------------------
Attachment: MessageServletSupport.java.patch
Patch to take away XML restriction
> REST API only accepts non-form content if content type of text/xml
> ------------------------------------------------------------------
>
> Key: AMQ-4668
> URL: https://issues.apache.org/jira/browse/AMQ-4668
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.8.0
> Reporter: Chris Robison
> Attachments: MessageServletSupport.java.patch
>
>
> If you don't format the POST content like "body={content}", the servlet will
> only read the body if the content type is text/xml. I'd like to submit JSON
> so it is not working. I've included a patch to open it up a bit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira