diff options
author | curly <curly@infernal.garden> | 2024-07-16 13:19:14 -0600 |
---|---|---|
committer | curly <curly@infernal.garden> | 2024-07-16 13:19:14 -0600 |
commit | 12c1da413d09d48ce85bb46d0629166ce986b5d6 (patch) | |
tree | 6778187a442e9bd49f8406f24eac1e9653f024b5 /README.md | |
parent | d109b8e2ed9caa1ad362ec5ee268a2a98c22981e (diff) | |
download | poko_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.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |