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>
|
||||
<div id="text">
|
||||
<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:
|
||||
{"mode":"error" "error":"{error}"} or
|
||||
{"mode":"message","username":"{username}","message":"{message}"} or
|
||||
{"mode":"balance", "username":"{username}", "balance":"{balance}"}
|
||||
</p>
|
||||
<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>
|
||||
If change = None or NaN the change will be -1
|
||||
</p>
|
||||
|
|
Loading…
Reference in a new issue