mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-28 15:14:06 +00:00
28 lines
429 B
Plaintext
28 lines
429 B
Plaintext
meta {
|
|
name: Duplicate Keys
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: https://echo.usebruno.com
|
|
body: formUrlEncoded
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/x-www-form-urlencoded
|
|
}
|
|
|
|
body:form-urlencoded {
|
|
tags: frontend
|
|
tags: api
|
|
user: john
|
|
}
|
|
|
|
script:post-response {
|
|
test('Response body matches expected value', function () {
|
|
expect(res.getBody()).to.eql("tags=frontend&tags=api&user=john");
|
|
});
|
|
}
|