hurl/integration/tests_ok/post_multilines.json
2022-11-18 15:30:56 +01:00

2 lines
526 B
JSON

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