paperless/tests/test-document-download.sh

8 lines
136 B
Bash
Raw Normal View History

2023-01-20 14:21:01 +00:00
#!/bin/sh
. ./credentials
2023-09-06 13:11:56 +00:00
DOCID=22833
curl -L --silent "${URL}/fetch/doc/${DOCID}" -H "Authorization: ${AUTH}" --output ${DOCID}.pdf