paperless/tests/test-document-download.sh
Uwe Steinmann fb84b8d282 set DOCID
2023-09-06 15:11:56 +02:00

8 lines
136 B
Bash
Executable File

#!/bin/sh
. ./credentials
DOCID=22833
curl -L --silent "${URL}/fetch/doc/${DOCID}" -H "Authorization: ${AUTH}" --output ${DOCID}.pdf