[
https://issues.apache.org/jira/browse/AMQ-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved AMQ-4668.
------------------------------
Resolution: Fixed
Thanks for the patch.
> 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: Improvement
> Components: Broker, Transport
> Affects Versions: 5.8.0
> Reporter: Chris Robison
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 5.10.0
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)