invalid JSON being returned

21 views
Skip to first unread message

mgoyal.t...@gmail.com

unread,
Mar 8, 2019, 3:49:25 PM3/8/19
to membrane-monitor

I am using a rest2json service proxy.

My REST call via SoapUI OR curl is returning XML instead of JSON. The path from the client to the membrane server to my soap server and the response from the soap server all look good. It even extracts the "UNKNOWN" version number correctly, but it is not formatting the result correctly. Any idea?

When I log the CURL command I see it returning:

curl --header "Accept: application/json" http://localhost:4000/version


< Content-Type: text/xml;charset=UTF-8


<data contentType="text/xml;charset=UTF-8" contentLength="38"><![CDATA[
        { "version": "UNKNOWN" }
    ]]></data>



Reply all
Reply to author
Forward
0 new messages