curl -v -H 'Content-Type: multipart/form-data' -H 'Accept: application/json' -H 'authorization: Token 1234' -F 'documents=@./upload.txt' -F "description=bla bla" http://0.0.0.0:8080/api/v1/upload
Created
January 24, 2020 20:59
-
-
Save creadone/90adbca084fe3784f4f733c0558426b2 to your computer and use it in GitHub Desktop.
Curl :: upload file with token auth and params
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment