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

Error 500 on curl POST to REST api [moved] #132

Closed
lvca opened this issue Dec 10, 2012 · 0 comments
Closed

Error 500 on curl POST to REST api [moved] #132

lvca opened this issue Dec 10, 2012 · 0 comments

Comments

@lvca
Copy link
Member

lvca commented Dec 10, 2012

This is Issue 132 moved from a Google Code project.
Added by 2010-10-13T19:35:19.000Z by [email protected].
Please review that bug for more context and additional comments, but update this bug.
Closed (Invalid).

Original labels: Type-Defect, Priority-Medium, v0.9.23

Original description

<b>What steps will reproduce the problem?</b>
1. create newdb
2. curl -i -X POST http://localhost:2480/document/newdb -H &quot;Content-Type: application/json&quot; -d {&quot;name&quot;:&quot;John&quot;} -u admin:admin

returns:
HTTP/1.1 500 Unknow error
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Date: Wed Oct 13 21:25:52 CEST 2010
Content-Type: text/plain
Server: OrientDB Server v.0.9.23-SNAPSHOT
Connection: Keep-Alive
CONTENT-LENGTH: 167

com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content

<b>What is the expected output? What do you see instead?</b>
should create new record - I think the curl command is correct.

<b>Please use labels and text to provide additional information.</b>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant