hurl/integration/tests/assert_base64.hurl

12 lines
276 B
Plaintext
Raw Normal View History

2020-08-27 10:07:46 +03:00
# Test body response with line ending LF and CRLF.
# We receive the text body "line1\nline2\r\nline3\n"
#
# $ printf "line1\nline2\r\nline3\n" | base64
# bGluZTEKbGluZTINCmxpbmUzCg==
GET http://localhost:8000/assert-base64
HTTP/1.0 200
base64,bGluZTEKbGluZTINCmxpbmUzCg==;