mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-12 17:50:51 +01:00
ed20eccc25
* feat: updates * feat: updates * feat: updates * feat: updates
24 lines
320 B
Plaintext
24 lines
320 B
Plaintext
meta {
|
|
name: echo form-url-encoded
|
|
type: http
|
|
seq: 9
|
|
}
|
|
|
|
post {
|
|
url: {{echo-host}}
|
|
body: formUrlEncoded
|
|
auth: none
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
form-data-key: {{form-data-key}}
|
|
}
|
|
|
|
script:pre-request {
|
|
bru.setVar('form-data-key', 'form-data-value');
|
|
}
|
|
|
|
assert {
|
|
res.body: eq form-data-key=form-data-value
|
|
}
|