29 lines
453 B
Plaintext
29 lines
453 B
Plaintext
meta {
|
|
name: Code
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
get {
|
|
url: {{url}}/identities/login/code/:identityId/code/:codeId/:value
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
params:path {
|
|
identityId: efefa471-905d-4702-bd0a-863d8cf70424
|
|
codeId: 7055b769-0814-47b8-836e-cfef2d8c2e68
|
|
value: 00597
|
|
}
|
|
|
|
script:post-response {
|
|
const cookies = res.getHeader('set-cookie');
|
|
if (cookies) {
|
|
bru.setVar("cookie", cookies.join('; '));
|
|
}
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
}
|