☑Kizspy.me
"
vandate credentials.
If successful, return a signed JWT token with { id: user._id} as
payload.
• Request Example:
{
"email": "
[email protected]"
"password": "strongpass123"
Response Example:
{
"token": "eyJhbGciOiJIUZI1NiIsInR5cCI6..."
Question 4 (2.5 points) - Borrow a Book (Requires JWT)
Objective:
Create an authenticated ADI to borrows book. The unor must be logged in and have a valid
Zoom
+100%
Close