master
Nikhil KJ hace 3 años
padre
commit
6cfcd27b37
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. +3
    -1
      Project-details.md

+ 3
- 1
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)
1. Pass Email ID `{"email" : "<registered user email id>"}` 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" : "<registered user email id>", "token": "<received OTP>"}`