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