# Signup Request ### Signup (POST) POST http://127.0.0.1:8000/users/register/ Content-Type: application/json
- {
- "email": "user1@example.com", "password": "password123", "role": "rider"
}
### Login (POST) POST http://127.0.0.1:8000/users/login/ Content-Type: application/json
- {
- "email": "user1@example.com", "password": "password123"
}
### Signup (POST) POST http://127.0.0.1:8000/users/register/ Content-Type: application/json
- {
- "email": "driver1@example.com", "password": "password123", "role": "driver"
}
### Login (POST) POST http://127.0.0.1:8000/users/login/ Content-Type: application/json
- {
- "email": "driver1@example.com", "password": "password123"
}
### Invalid Signup (GET) GET http://127.0.0.1:8000/users/register/ Content-Type: application/json
### Invalid Login (GET) GET http://127.0.0.1:8000/users/login/ Content-Type: application/json