paperless/tests/test-patch-saved-view.sh

11 lines
238 B
Bash
Raw Normal View History

2023-10-11 14:39:16 +00:00
#!/bin/sh
. ./credentials
curl --silent -X PATCH "${URL}/api/saved_views/" \
-H 'Content-Type: application/json' \
-H "Authorization: ${AUTH}" \
-d '{"id":0,"name":"autoview","username":"admin","password":"admin"}'
# | jq '.'