request_body() { cat <<REQUEST_BODY | { "from" : 0, "size" : 40 } REQUEST_BODY } get_url() { curl http://localhost -d @- } request_body | get_url
/readability sometimes trumps YAGNI
/readability sometimes trumps YAGNI