share-lt/cmd/curl_get_text_widgets_anon.sh
jon brookes c66645cbdd feat: add TextWidget
add TextWidget CRUD api

add basic tests for API
2026-01-08 16:50:03 +00:00

13 lines
281 B
Bash
Executable file

#!/usr/bin/env bash
# this should fail, no token provided
# users need to be authenticated and have been
# granted access to view text widgets by being given
# a token
URL='http://127.0.0.1:8000/api/text-widgets'
curl -s -X GET \
-H "Accept: application/json" \
$URL