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: Json input and output is not consistent. #2

Open
mkudlej opened this issue Oct 23, 2015 · 0 comments
Open

API: Json input and output is not consistent. #2

mkudlej opened this issue Oct 23, 2015 · 0 comments

Comments

@mkudlej
Copy link

mkudlej commented Oct 23, 2015

Functions as input accept only keys in lower-case but first letters of keys in output from functions are in upper-case. Example:

POST /users accepts parameters like {"username": "test"} <- lower-case key
but
GET /users output is [{"Username": "test"}, ...] <- key with first upper-case letter

I think this should be consistent.

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

1 participant