summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml1
-rw-r--r--curlie_guide5
2 files changed, 6 insertions, 0 deletions
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"