Documentation api to post
This commit is contained in:
parent
fda3f58cca
commit
d9aff6a56a
1 changed files with 4 additions and 2 deletions
|
@ -16,14 +16,16 @@
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<div id="text">
|
<div id="text">
|
||||||
<h2>API:</h2>
|
<h2>API:</h2>
|
||||||
<p>http://matekasse.server.c3h/api/tag_id?={tag_id}</p>
|
<p>http://matekasse.server.c3h/api/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
|
||||||
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
||||||
</p>
|
</p>
|
||||||
<br></br>
|
<br></br>
|
||||||
<p>http://matekasse.server.c3h/api/change?id={user_id}&?change={change}</p>
|
<p>http://matekasse.server.c3h/api/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