From 8782579e326b55e182d5767a451b8864b3453cce Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Sat, 25 Jan 2025 20:13:37 +0100 Subject: fixing last commit: root has not been updated --- Cargo.toml | 1 + curlie_guide | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 8022b51..8da9c88 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" -- cgit v1.2.3