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