mirror of
https://codeberg.org/SeedDMS/paperless
synced 2025-02-06 15:05:46 +00:00
9 lines
171 B
Bash
Executable File
9 lines
171 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ./credentials
|
|
|
|
curl --silent -X POST "${URL}/api/token/" \
|
|
-H 'Content-Type: application/json' \
|
|
-d '{"username":"admin","password":"admin"}' | jq '.'
|
|
|