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

NumberFormatException: null when using the create REST API controller #57

Open
jjlueck-tock opened this issue Mar 31, 2015 · 0 comments

Comments

@jjlueck-tock
Copy link

Should I be able to use the REST API to create a new Simple object without specifying the ID for the new Simple object created?

Running a command like this using the current source produces a NumberFormatException when trying to convert a non-existent id field of type Long from null:

$ curl -X POST -H "Content-type: application/json" -d '{"name": "new simple object"}' http://localhost:9000/api/Simple/create

Am I just missing something?

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