hurl/integration/tests_ok/post_multilines.json

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}}]}