feat: modular domain driven boilerplate
This commit is contained in:
28
.bruno/identity/login/code.bru
Normal file
28
.bruno/identity/login/code.bru
Normal file
@@ -0,0 +1,28 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user