mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
updated paths
This commit is contained in:
parent
c9fedf3228
commit
50d4801074
2 changed files with 7 additions and 7 deletions
12
help.md
12
help.md
|
|
@ -14,12 +14,12 @@
|
|||
* "**A**" denotes requiring Authentication in the form of a header titled "**Password**"
|
||||
|
||||
# Usage
|
||||
| Name | Path | Method | A | Description |
|
||||
| :------------: | :-------------------------------- | :----: | :---: | -------------------------------------------------------------------------------------------------- |
|
||||
| GetBal | /{name}/bal | GET | false | returns the balance of a given user `{name}` |
|
||||
| GetLog | /{name}/log | GET | true | returns a list of last `n` number of transactions (a configurable amount) of a given user `{name}` |
|
||||
| SendFunds | /{name}/send/{to}/amount={amount} | POST | true | sends `{amount}` from user `{name}` to user `{to}` |
|
||||
| VerifyPassword | /{name}/pass/verify | GET | true | returns `1` if the supplied user `{name}`'s password matches the password supplied in the header |
|
||||
| Name | Path | Method | A | Description |
|
||||
| :------------: | :------------------------------------- | :----: | :---: | -------------------------------------------------------------------------------------------------- |
|
||||
| GetBal | BankF/{name}/bal | GET | false | returns the balance of a given user `{name}` |
|
||||
| GetLog | BankF/{name}/log | GET | true | returns a list of last `n` number of transactions (a configurable amount) of a given user `{name}` |
|
||||
| SendFunds | BankF/{name}/send/{to}/amount={amount} | POST | true | sends `{amount}` from user `{name}` to user `{to}` |
|
||||
| VerifyPassword | BankF/{name}/pass/verify | GET | true | returns `1` if the supplied user `{name}`'s password matches the password supplied in the header |
|
||||
|
||||
# Meta Usage
|
||||
| Name | Path | Method | A | Description |
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue