From 12c1da413d09d48ce85bb46d0629166ce986b5d6 Mon Sep 17 00:00:00 2001 From: curly Date: Tue, 16 Jul 2024 13:19:14 -0600 Subject: change password and username --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README.md') 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 -- cgit v1.2.3