From 2432eed1ae6aff9fed97fd4994e0cdc8a925bb5e Mon Sep 17 00:00:00 2001 From: bton Date: Fri, 16 Feb 2024 23:11:12 +0100 Subject: [PATCH] Doc repariert --- Website/templates/documentation.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Website/templates/documentation.html b/Website/templates/documentation.html index c20f963..a706288 100644 --- a/Website/templates/documentation.html +++ b/Website/templates/documentation.html @@ -17,7 +17,7 @@

API:

http://matekasse.server.c3h/api/tag_id

-

Post method "id"= tag id

+

Post method {"id":tag_id}

Response: {"mode":"error" "error":"{error}"} or {"mode":"message","username":"{username}","message":"{message}"} or @@ -25,7 +25,7 @@



http://matekasse.server.c3h/api/balance

-

Post method "id" = user id, "change"=change

+

Post method {"id":user_id, "change":change}

If change = None or NaN the change will be -1