-
Notifications
You must be signed in to change notification settings - Fork 48
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
howto upload a file using curl? #125
Comments
http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too-large/ |
And since you want to upload the file in one chunk, you will have to have a look at this: |
ok. the easiest way is to change the nginx configuration: Now this works:
Answer:
everything fine now. |
You changed from rest-api to normal web? |
and |
I will rework the rest api to make is usable with curl and/or other similr tools |
no I don't want to use the cli-client.
I tried:
curl -F '[email protected];type=application/octet-stream' https://user:[email protected]/apis/rest/items -X POST
And get:
The documentation is no help because a curl example is missing.
The text was updated successfully, but these errors were encountered: