BOOK RESOURCE



robo.png

API Documentation

Authentication

Sign Up

URL: /api/signup/

Method: POST

Description: Create a new user account.

Request Body:

{
  "fname": "Tanish",
  "lname": "Vashisth",
  "email": "[email protected]",
  "password": "password123"
}

Response:

Login

URL: /api/login/

Method: POST

Description: Authenticate a user and return a token.