paperless/tests/test-upload.sh
2023-01-20 15:21:01 +01:00

8 lines
159 B
Bash
Executable File

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