Files
aviation/bruno/Account/Change Password.bru

23 lines
262 B
Plaintext

meta {
name: Change Password
type: http
seq: 6
}
put {
url: {{API_URL}}/account/password
body: json
auth: none
}
body:json {
{
"password": "New Password"
}
}
script:post-response {
const apiKey = res.body
bru.setVar("bearer",apiKey)
}