|
|
@@ -16,3 +16,11 @@ Helpful Links: [Deliverables](https://docs.google.com/spreadsheets/d/11FLRwgf3WV |
|
|
|
3. Pass the OTP as POST request to http://localhost:8000/workx/auth/token/ `{"email" : "<registered user email id>", "token": "<received OTP>"}`
|
|
|
|
4. If the OTP matches the backend will provide a valid token
|
|
|
|
|
|
|
|
## To Test the API on server
|
|
|
|
**Please change the Base URL to `https://kj.webtrigon.com/workx/`**
|
|
|
|
Ex: `https://kj.webtrigon.com/workx/auth/email` is the API you should ping if you need the OTP.
|
|
|
|
|
|
|
|
### To get the list of users currently present
|
|
|
|
Please visit https://kj.webtrigon.com/workx/api/users/
|
|
|
|
You can also add the user with appropriate email ID before pinging the authentication APIs
|
|
|
|
|