Files
DADProject/bruno_collection/Auth/Login.bru
T
2025-12-04 20:45:22 +00:00

24 lines
257 B
Plaintext

meta {
name: Login
type: http
seq: 1
}
post {
url: {{api_url}}/auth/login
body: json
auth: none
}
body:json {
{
"email":"[email protected]",
"password":"123"
}
}
tests {
let data = res.getBody();
bru.setEnvVar("token",data.token);
}