Add post_user_create
parent
01abd6efe7
commit
fed460b9f6
22
post_user_create.md
Normal file
22
post_user_create.md
Normal file
@ -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"}'
|
||||
```
|
Loading…
Reference in New Issue
Block a user