diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-26 12:25:13 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-26 12:25:13 +0100 |
commit | 5898e5ab4359945ef52dc7460bb2937a85603fc2 (patch) | |
tree | 0ef4c760bd6e30df2897e9cc725552ef54e51983 /curlie_guide | |
parent | e3f0f700bf2de3b8e7d7c72893a4d6cb128f000d (diff) |
authentication done
Diffstat (limited to 'curlie_guide')
-rw-r--r-- | curlie_guide | 8 |
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) |