-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,13 +75,7 @@ HTTP Code | Status | Description | |
- username : required and not empty | ||
- password: required and not empty | ||
|
||
<<<<<<< HEAD | ||
*if any special logic, please write down the logic here. thanks* | ||
======= | ||
*if any special logic, please write down the logic here* | ||
>>>>>>> add validation logic on login | ||
|
||
|
||
|
||
|
||
|
@@ -424,7 +418,7 @@ Key | Value | |
--- | --- | ||
Content-Type | application/json | ||
Accept | application/json | ||
Email | application/json | ||
Email | [email protected] | ||
|
||
### Request Payloads | ||
Name | Type | Example Value | ||
|
@@ -436,7 +430,7 @@ re_new_password | string | jakaRTa!2021 | |
{ | ||
"old_password": "jakaRTa!2020", | ||
"new_password": "jakaRTa!2021", | ||
"re_new_password": "jakaRTa!2021", | ||
"re_new_password": "jakaRTa!2021" | ||
} | ||
``` | ||
### Response Payloads | ||
|
@@ -464,7 +458,7 @@ HTTP Code | Status | Description | |
"id":1, | ||
"name": "Jacky Chan", | ||
"username": "jacky", | ||
"email": "[email protected]", | ||
"email": "[email protected]" | ||
} | ||
} | ||
} | ||
|
@@ -806,7 +800,7 @@ Response Payload : | |
Request payload : | ||
``` | ||
{ | ||
"token": "c4ca4238a0b923820dcc509a6f75849b" | ||
"token": "c4ca4238a0b923820dcc509a6f75849b", | ||
"new_password": "" | ||
} | ||
``` | ||
|
@@ -827,7 +821,7 @@ Response Payload : | |
Request Payload : | ||
``` | ||
{ | ||
"token": "c4ca4238a0b923820dcc509a6f75849b" | ||
"token": "c4ca4238a0b923820dcc509a6f75849b", | ||
"new_password": "asal" | ||
} | ||
``` | ||
|
@@ -848,7 +842,7 @@ Response Payload : | |
Request Payload : | ||
``` | ||
{ | ||
"token": "c4ca4238a0b923820dcc509a6f75849b" | ||
"token": "c4ca4238a0b923820dcc509a6f75849b", | ||
"new_password": "jakaRTa!2020", | ||
"re_new_password": "asal" | ||
} | ||
|
@@ -871,7 +865,7 @@ Response Payload : | |
Request Payload : | ||
``` | ||
{ | ||
"token": "c4ca4238a0b923820dcc509a6f75849b" | ||
"token": "c4ca4238a0b923820dcc509a6f75849b", | ||
"new_password": "jakaRTa!2021", | ||
"re_new_password": "jakaRTa!2021" | ||
} | ||
|