summaryrefslogtreecommitdiff
path: root/curlie_guide
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-25 20:13:37 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-25 20:13:37 +0100
commit8782579e326b55e182d5767a451b8864b3453cce (patch)
tree7c7ce8dbae815f98e897bd3b46364fc6ae8d203a /curlie_guide
parent679f15b5ea948a345e959fc3eef1465d2a3b8b48 (diff)
fixing last commit: root has not been updated
Diffstat (limited to 'curlie_guide')
-rw-r--r--curlie_guide5
1 files changed, 5 insertions, 0 deletions
diff --git a/curlie_guide b/curlie_guide
index 40769b7..462ed48 100644
--- a/curlie_guide
+++ b/curlie_guide
@@ -1,5 +1,10 @@
+== api ==
curlie
-f [POST/PUT/DELETE] (leave empty for GET)
(:8000/api/[song/album/artist] || :8000/auth/[encode_token/decode_token/protected])
argument=value (ex: id=2)
header:value (for tokens: Accept:application/json Authorization:token_here)
+
+
+== decode-auth ==
+curlie [-f POST] :8000/auth/decode-token token="token_here"