Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 540 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 540 Bytes

FastApi_Authentication

A ready to use authentication system devekoped using FastAPI framework

This code exposes the following endpoints:

  • /api/register/
  • /api/login/
  • /api/valid/

To test register api:

  •    curl -X POST "http://localhost:8000/api/register/?username={USERNAME}&password={PASSWORD}" -H  "accept: application/json" -d ""```
    

To test login api:

  •  curl -X POST "http://localhost:8000/api/login/?username={USERNAME}&password={PASSWORD}" -H  "accept: application/json" -d ""```