Add create_user

Arlo Filley 2024-03-22 23:51:48 +00:00
parent bd01ea14dd
commit d5068c846c

25
create_user.md Normal file

@ -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"}'
```