docs(bruno): missing post response script

This commit is contained in:
2026-06-22 22:34:18 +01:00
parent c571e12099
commit 7d8a62d331
4 changed files with 12 additions and 16 deletions

View File

@@ -4,7 +4,7 @@ meta {
seq: 3
}
get {
post {
url: {{base_url}}/media/clip
body: json
auth: inherit
@@ -12,6 +12,10 @@ get {
body:json {
{
"duration": 60
"duration": 60.0
}
}
script:post-response {
bru.setEnvVar("uuid", res.getBody().data.uuid);
}

View File

@@ -4,7 +4,7 @@ meta {
seq: 2
}
get {
post {
url: {{base_url}}/media/save
body: json
auth: inherit
@@ -16,3 +16,7 @@ body:json {
"endTime": "2026-06-21T17:28:00Z"
}
}
script:post-response {
bru.setEnvVar("uuid", res.getBody().data.uuid);
}