summaryrefslogtreecommitdiff
path: root/curl_examples
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-24 12:00:24 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-24 12:00:24 +0100
commitc2786c4b9d704128da80ce4ed6513b9f5507b680 (patch)
treefe17ca91b195a7b55b4b30f343a5a6eea95a755e /curl_examples
parent8c4de2ddac066a072f376e9f30409b114aa9978c (diff)
polishing
Diffstat (limited to 'curl_examples')
-rw-r--r--curl_examples2
1 files changed, 2 insertions, 0 deletions
diff --git a/curl_examples b/curl_examples
new file mode 100644
index 0000000..0c3ac05
--- /dev/null
+++ b/curl_examples
@@ -0,0 +1,2 @@
+curl localhost:8000/auth/protected -H "Accept: application/json" -H "Authorization: token_here"
+curlie -f [POST/PUT/DELETE] :8000/api/[song/album/artist] argument=value