3 ms·
You can also write curl after the pipe cat <<REQUEST_BODY | curl http://localhost -d @- { "from" : 0, "size" : 40 } REQUEST
by mhitza 13y ago
You can also write curl after the pipe
cat <<REQUEST_BODY | curl http://localhost -d @-
{
"from" : 0,
"size" : 40
}
REQUEST_BODY