From c055cb3ba452ccec46fce59ae23dabdccc2da139 Mon Sep 17 00:00:00 2001 From: Nikhil KJ Date: Wed, 6 Jul 2022 08:56:21 +0000 Subject: [PATCH] --- Project-details.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Project-details.md b/Project-details.md index 2c5c7cd..8b46087 100644 --- a/Project-details.md +++ b/Project-details.md @@ -10,4 +10,5 @@ ## API integration for the front-end 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 +3. Pass the OTP as POST request to http://localhost:8000/auth/token/ `{"email" : "", "token": ""}` +4. If the OTP matches the backend will provide a valid token \ No newline at end of file