vikunja/rest/login.bru
kolaente 7eb59f577c
Some checks failed
continuous-integration/drone/push Build is failing
feat: add very basic bruno collection
2023-10-10 21:04:57 +02:00

27 lines
291 B
Plaintext

meta {
name: login
type: http
seq: 1
}
post {
url: {{host}}/api/v1/login
body: json
}
body:json {
{
"username": "{{username}}",
"password": "{{password}}"
}
}
vars:pre-request {
username: test
password: 12345678
}
vars:post-response {
token: res.body.token
}