aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorcurly <curly@infernal.garden>2024-07-16 13:19:14 -0600
committercurly <curly@infernal.garden>2024-07-16 13:19:14 -0600
commit12c1da413d09d48ce85bb46d0629166ce986b5d6 (patch)
tree6778187a442e9bd49f8406f24eac1e9653f024b5 /README.md
parentd109b8e2ed9caa1ad362ec5ee268a2a98c22981e (diff)
downloadpoko_server-12c1da413d09d48ce85bb46d0629166ce986b5d6.tar.gz
poko_server-12c1da413d09d48ce85bb46d0629166ce986b5d6.tar.bz2
poko_server-12c1da413d09d48ce85bb46d0629166ce986b5d6.zip
change password and username
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 08a806e..eafa655 100644
--- a/README.md
+++ b/README.md
@@ -89,4 +89,13 @@
- Response
- 200 Ok
- 500 Internal Server Error
- - JSON `"Could not complete transaction"` \ No newline at end of file
+ - JSON `"Could not complete transaction"`
+- POST `/user/update/info`
+ - Request
+ - JSON `{"id": "ID", "session": "SESSION_KEY", "name": "USERNAME", "old_password": "PASSWORD", "new_password": "PASSWORD"}`
+ - Response
+ - 200 Ok
+ - 401 Unauthorized
+ - JSON `"Not Authenticated"`
+ - 400 Bad Request
+ - 500 Internal Server Error` \ No newline at end of file