1
0
mirror of https://github.com/tomasvarg/testground-web-devel.git synced 2026-03-01 08:28:49 +00:00
testground-web-devel/node/echo-request/send-request-curl.sh

9 lines
147 B
Bash
Executable File

#!/usr/bin/env sh
port=${1:-3001}
curl -d 'par1=value1' \
-d 'par2=value2' \
-d 'par3=value3&par4=value4' \
-XPOST "localhost:$port"