You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Adrián Nieto (JIRA)" <ji...@apache.org> on 2014/06/26 16:08:24 UTC

[jira] [Created] (BROOKLYN-8) Some REST API methods are not JSON-compliant

Adrián Nieto created BROOKLYN-8:
-----------------------------------

             Summary: Some REST API methods are not JSON-compliant 
                 Key: BROOKLYN-8
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-8
             Project: Brooklyn
          Issue Type: Bug
            Reporter: Adrián Nieto
            Priority: Minor


REST v1 API methods like Server.version, Server.status are not returning JSON Objects, although the HTML response content is tagged as JSON. Parsing error expected.


{noformat}
Request URL
    /v1/server/version
Response Body [unable to parse as json; raw response below]
    0.7.0-SNAPSHOT
Response Code
    200
Response Headers
    Content-Encoding: gzip
    Server: Jetty(8.1.4.v20120524)
    Transfer-Encoding: chunked
    Content-Type: application/json
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)