Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Auth routes do not give valid json back #1

Closed
ZengineChris opened this issue Apr 3, 2017 · 1 comment
Closed

API Auth routes do not give valid json back #1

ZengineChris opened this issue Apr 3, 2017 · 1 comment

Comments

@ZengineChris
Copy link

ZengineChris commented Apr 3, 2017

At the moment the Api gives a plain Text response in some cases. I suggest a better approach is to give always json back.
Something similar to:

{
    "message": "no valid auth header"
}
{
    "token": "1234test1234"
}
@trusch
Copy link
Owner

trusch commented Apr 3, 2017

Fixed.

@trusch trusch closed this as completed Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants