brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrián Nieto (JIRA) <j...@apache.org>
Subject [jira] [Created] (BROOKLYN-8) Some REST API methods are not JSON-compliant
Date Thu, 26 Jun 2014 14:08:24 GMT
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)

Mime
View raw message