Files
lst_v3/brunoApi/auth/Register.bru
2026-03-01 14:10:19 -06:00

35 lines
566 B
Plaintext

meta {
name: Register
type: http
seq: 2
}
post {
url: {{url}}/lst/api/authentication/register
body: json
auth: inherit
}
body:json {
{
"username": "jane005",
"email": "jane@alpla.com",
"password": "superSecretPassword"
}
}
script:post-response {
// // grab the raw Set-Cookie header
// const cookies = res.headers["set-cookie"];
// const sessionCookie = cookies[0].split(";")[0];
// // Save it as an environment variable
// bru.setEnvVar("session_cookie", sessionCookie);
}
settings {
encodeUrl: true
timeout: 0
}