Quick and simple technique to implement the OTP functionality in your Django Project.
This is to register the mobile number into the database and generate OTP.
http://127.0.0.1:8000/verify/9999999999/
This is to verify the mobile number using OTP.
http://127.0.0.1:8000/verify/9999999999/
Data:
{
"otp":040301
}