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

8 lines
138 B
Bash
Executable File

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