Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

isLoggedIn does not respond with valid json #112

Open
MrMarvin opened this issue Nov 8, 2012 · 1 comment
Open

isLoggedIn does not respond with valid json #112

MrMarvin opened this issue Nov 8, 2012 · 1 comment

Comments

@MrMarvin
Copy link
Member

MrMarvin commented Nov 8, 2012

When requesting "/" + Constants.WISEBED_API_VERSION + "/{testbedId}/isLoggedIn" without a valid cookie (speak: not logged in) the API responses with 403 Forbidden status and a body text of You're not logged in into testbed "uzl"!.

Although requested with Accept: application/json the response is plain text which upsets some client implementation that parse the body as JSON.

@MrMarvin
Copy link
Member Author

Response header is: {"CONTENT_TYPE"=>"application/json", "CONNECTION"=>"close", "SERVER"=>"Jetty(8.1.1.v20120215)"}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant