summaryrefslogtreecommitdiff
path: root/curlie_guide
diff options
context:
space:
mode:
Diffstat (limited to 'curlie_guide')
-rw-r--r--curlie_guide8
1 files changed, 6 insertions, 2 deletions
diff --git a/curlie_guide b/curlie_guide
index 462ed48..7db110d 100644
--- a/curlie_guide
+++ b/curlie_guide
@@ -3,8 +3,12 @@ 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)
-
+header:value (Authorization:token_here)
== decode-auth ==
curlie [-f POST] :8000/auth/decode-token token="token_here"
+
+
+
+
+(saving just in case: Accept:application/json)