You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Hadrian Zbarcea (JIRA)" <ji...@apache.org> on 2014/03/12 04:05:47 UTC

[jira] [Updated] (AMQ-4668) REST API only accepts non-form content if content type of text/xml

     [ https://issues.apache.org/jira/browse/AMQ-4668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea updated AMQ-4668:
---------------------------------

    Fix Version/s: 5.9.1

> 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.9.1, 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.2#6252)