You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<strong>POST /signup :</strong> Register a new user. The payload should be a JSON object containing 'username' and 'password' keys.
</li>
<li>
<strong>POST /login :</strong> Authenticate an existing user. The payload should be a JSON object with 'username' and 'password' keys. This endpoint returns a JWT token when successful.
</li>
<li>
<strong>GET /logout :</strong> Invalidate a user's JWT token. This endpoint does not require a payload.