forked from bton/matekasse
Doc repariert
This commit is contained in:
parent
fd5fd4d78c
commit
2432eed1ae
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
||||||
<div id="text">
|
<div id="text">
|
||||||
<h2>API:</h2>
|
<h2>API:</h2>
|
||||||
<p>http://matekasse.server.c3h/api/tag_id</p>
|
<p>http://matekasse.server.c3h/api/tag_id</p>
|
||||||
<p>Post method "id"= tag id</p>
|
<p>Post method {"id":tag_id}</p>
|
||||||
<p>Response:
|
<p>Response:
|
||||||
{"mode":"error" "error":"{error}"} or
|
{"mode":"error" "error":"{error}"} or
|
||||||
{"mode":"message","username":"{username}","message":"{message}"} or
|
{"mode":"message","username":"{username}","message":"{message}"} or
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
</p>
|
</p>
|
||||||
<br></br>
|
<br></br>
|
||||||
<p>http://matekasse.server.c3h/api/balance</p>
|
<p>http://matekasse.server.c3h/api/balance</p>
|
||||||
<p>Post method "id" = user id, "change"=change</p>
|
<p>Post method {"id":user_id, "change":change}</p>
|
||||||
<p>
|
<p>
|
||||||
If change = None or NaN the change will be -1
|
If change = None or NaN the change will be -1
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue