From 5898e5ab4359945ef52dc7460bb2937a85603fc2 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sun, 26 Jan 2025 12:25:13 +0100 Subject: authentication done --- curlie_guide | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'curlie_guide') 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) -- cgit v1.2.3