mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-10 07:58:26 +01:00
ed20eccc25
* feat: updates * feat: updates * feat: updates * feat: updates
25 lines
318 B
Plaintext
25 lines
318 B
Plaintext
meta {
|
|
name: echo multipart
|
|
type: http
|
|
seq: 8
|
|
}
|
|
|
|
post {
|
|
url: {{echo-host}}
|
|
body: multipartForm
|
|
auth: none
|
|
}
|
|
|
|
body:multipart-form {
|
|
foo: {{form-data-key}}
|
|
file: @file(bruno.png)
|
|
}
|
|
|
|
assert {
|
|
res.body: contains form-data-value
|
|
}
|
|
|
|
script:pre-request {
|
|
bru.setVar('form-data-key', 'form-data-value');
|
|
}
|