docs(api): auth endpoints in bruno
This commit is contained in:
28
LogisticsSupportTool_API_DOCS/app/auth/Signout.bru
Normal file
28
LogisticsSupportTool_API_DOCS/app/auth/Signout.bru
Normal file
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Signout
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://{{url}}/lst/api/auth/sign-out
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "matthes01",
|
||||
"password": "nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
|
||||
// Save it as an environment variable
|
||||
bru.setEnvVar("session_cookie", null);
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user