mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-28 19:03:15 +01:00
43 lines
463 B
Plaintext
43 lines
463 B
Plaintext
meta {
|
|
name: echo bigint
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
post {
|
|
url: {{host}}/api/echo/json
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
foo: bar
|
|
}
|
|
|
|
auth:basic {
|
|
username: asd
|
|
password: j
|
|
}
|
|
|
|
auth:bearer {
|
|
token:
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"hello": 990531470713421825,
|
|
"decimal": 1.0,
|
|
"decimal2": 1.00,
|
|
"decimal3": 1.00200,
|
|
"decimal4": 0.00
|
|
}
|
|
}
|
|
|
|
assert {
|
|
res.status: eq 200
|
|
}
|
|
|
|
tests {
|
|
// todo: add tests once lossless json echo server is ready
|
|
}
|