From 6cfcd27b3751ef8bdae5ac69c1bd191141ac47af Mon Sep 17 00:00:00 2001 From: Nikhil KJ Date: Wed, 6 Jul 2022 08:55:07 +0000 Subject: [PATCH] --- Project-details.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Project-details.md b/Project-details.md index 7bf83ab..2c5c7cd 100644 --- a/Project-details.md +++ b/Project-details.md @@ -8,4 +8,6 @@ 7. Execute `python manage.py runserver` ## API integration for the front-end -1. [Pass](http://localhost:8000/auth/email) \ No newline at end of file +1. Pass Email ID `{"email" : ""}` as a POST request to http://localhost:8000/auth/email/ +2. Since the backend will be locally connected to check the OTP visit the console on which you're running the backend. The OTP/Token will be displayed along with the appropriate message. +3. Pass the OTP as POST request to http://localhost:8000/auth/token/ `{"email" : "", "token": ""}` \ No newline at end of file