hurl/integration/tests_ok/post_multilines.json
Fabrice Reix bf79a512e0
Newline added at the end of the files
hurlfmt now also outputs a trailing newline.
2022-10-24 15:04:50 +02:00

2 lines
577 B
JSON

{"entries":[{"request":{"method":"POST","url":"http://localhost:8000/post-multilines","body":{"type":"raw-string","value":"name,age\nbob,10\nbill,22\n"}},"response":{"version":"HTTP/1.0","status":200}},{"request":{"method":"GET","url":"http://localhost:8000/get-bob-age"},"response":{"version":"HTTP/1.0","status":200,"captures":[{"name":"bob_age","query":{"type":"body"}}]}},{"request":{"method":"POST","url":"http://localhost:8000/post-multilines","body":{"type":"raw-string","value":"name,age\nbob,{{bob_age}}\nbill,22\n"}},"response":{"version":"HTTP/1.0","status":200}}]}