Skip to content

It is short methodology to implement the OTP Functionality in django rest services

Notifications You must be signed in to change notification settings

Akash16s/OTP-in-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTP-in-django

Quick and simple technique to implement the OTP functionality in your Django Project.

Python Packages required: pyotp, base64, django, django-rest-framework

API Calls

GET

This is to register the mobile number into the database and generate OTP.

http://127.0.0.1:8000/verify/9999999999/

POST

This is to verify the mobile number using OTP.

http://127.0.0.1:8000/verify/9999999999/

Data:

   {
    "otp":040301
   }

About

It is short methodology to implement the OTP Functionality in django rest services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages