rust-api-template/.yaak/yaak.rq_5V5Ana9beE.yaml
2025-05-04 22:17:09 +02:00

55 lines
1.1 KiB
YAML

type: http_request
model: http_request
id: rq_5V5Ana9beE
createdAt: 2025-04-29T13:46:49.596651
updatedAt: 2025-04-29T13:47:38.677134
workspaceId: wk_SlydsyH2WI
folderId: fl_cdHsBtENVb
authentication:
token: ${[ response.body.raw(request='rq_Eb5hJAiaKG') ]}
authenticationType: bearer
body:
text: |-
{
"id": 1,
"name": "Test2",
"description": "Bla bla bla",
"manager": {
"user_id": "einstein",
"name": "Albert",
"surname": "EINSTEIN",
"email": "albert.einstein@uno.com"
},
"vice_manager": {
"user_id": "einstein",
"name": "Max",
"surname": "Mustermann",
"email": ""
},
"active": true
}
bodyType: application/json
description: ''
headers:
- enabled: true
name: x-api-key
value: ${[ ApiKey ]}
id: null
- enabled: false
name: ''
value: ''
id: null
- enabled: true
name: ''
value: ''
id: null
- enabled: true
name: Content-Type
value: application/json
id: FWIGbxmTAH
method: PUT
name: Departments
sortPriority: 1000.001
url: http://localhost:8080/api/departments
urlParameters: []