From fed460b9f6413cbd6d232654b946b08900f22f51 Mon Sep 17 00:00:00 2001 From: Arlo Date: Mon, 25 Mar 2024 10:22:48 +0000 Subject: [PATCH] Add post_user_create --- post_user_create.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 post_user_create.md diff --git a/post_user_create.md b/post_user_create.md new file mode 100644 index 0000000..ceb9541 --- /dev/null +++ b/post_user_create.md @@ -0,0 +1,22 @@ +# Create User API Endpoint + +## POST `/api/user/create` + +Creates a new user in the database. + +## Request Parameters + +```json +{ + "username": "example_user", + "password": "example_password" +} +``` + +## Example Request + +```bash +curl -X POST "https://url/api/user/create" \ +-H "Content-Type: application/json" \ +-d '{"username": "example_user", "password": "example_password"}' +``` \ No newline at end of file