paperless/tests/test-upload.sh

8 lines
159 B
Bash
Raw Normal View History

2023-01-20 14:21:01 +00:00
#!/bin/sh
. ./credentials
curl -v -X POST -F "file=@test-upload.sh" -F "tags=5" "${URL}/api/documents/post_document/" -H "Authorization: ${AUTH}"
#| jq '.'