Authentication
POST /auth/login Public
Sign in and start a session.
Body
emailstring required- Account email.Example
me@example.com passwordstring required- Account password.
curl -X POST "https://freehire.dev/api/v1/auth/login" \
-H 'Content-Type: application/json' \
-c cookies.txt \
-d '{"email":"me@example.com","password":"hunter2hunter2"}'{ "data": { "id": 1, "email": "me@example.com", "role": "user" } }