mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-04-30 13:45:12 -05:00
updated register docs
This commit is contained in:
@@ -302,19 +302,20 @@ Example:
|
||||
|
||||
##### Method/Headers
|
||||
|
||||
> | Method/Headers | Value |
|
||||
> | -------------- | ---------------- |
|
||||
> | Method | POST |
|
||||
> | content-type | application/json |
|
||||
> | Method/Headers | Value |
|
||||
> | -------------- | ------------------- |
|
||||
> | Method | POST |
|
||||
> | content-type | multipart/form-data |
|
||||
|
||||
##### Body
|
||||
##### Form
|
||||
|
||||
> | Name | Type | Notes |
|
||||
> | --------- | -------- | ------------------- |
|
||||
> | firstname | `string` | |
|
||||
> | lastname | `string` |
|
||||
> | email | `string` | Valid email address |
|
||||
> | password | `string` | Min 8 chars |
|
||||
> | Name | Type | Notes |
|
||||
> | --------- | --------------- | ----------------------------------------------- |
|
||||
> | firstName | `string` | |
|
||||
> | lastName | `string` | |
|
||||
> | email | `string` | Valid email address |
|
||||
> | password | `string` | Min 8 chars, One Upper, one number, one special |
|
||||
> | role | `Array<string>` | Array of user roles |
|
||||
|
||||
##### Response Payload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user