feat(lstv2): energizer forecast added with new format
This commit is contained in:
30
LogisticsSupportTool_API_DOCS/LstV2/Auth/Login.bru
Normal file
30
LogisticsSupportTool_API_DOCS/LstV2/Auth/Login.bru
Normal file
@@ -0,0 +1,30 @@
|
||||
meta {
|
||||
name: Login
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{urlv2}}/api/auth/login
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "matthes01",
|
||||
"password": "{{v2Password}}"
|
||||
}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
bru.setEnvVar("jwtV2",res.body.token)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
LogisticsSupportTool_API_DOCS/LstV2/Auth/folder.bru
Normal file
8
LogisticsSupportTool_API_DOCS/LstV2/Auth/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: Auth
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user