diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-25 20:13:37 +0100 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2025-01-25 20:13:37 +0100 |
commit | 8782579e326b55e182d5767a451b8864b3453cce (patch) | |
tree | 7c7ce8dbae815f98e897bd3b46364fc6ae8d203a | |
parent | 679f15b5ea948a345e959fc3eef1465d2a3b8b48 (diff) |
fixing last commit: root has not been updated
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | curlie_guide | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -13,6 +13,7 @@ serde_json = "1.0.128" env_logger = "0.11.6" jsonwebtoken = "9.3.0" chrono = "0.4.39" +utoipa-actix-web = "0.1.2" [package.metadata.scripts] db_create = "bash ./scripts/create_db.sh" 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" |