HTTP
HTTP POST
--data-urlencode
--url-query
# Server-side
HTTP/1.1 200 I am cool swsclose
Server: Cool server/10.0
Content-Length: 0
# Client-side
http
--url-query with --data-urlencode
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
--url-query "my name is moo[]"
--url-query "yes=s i r"
--url-query "v_alue@%LOGDIR/%TESTNUMBER.txt"
--url-query @%LOGDIR/%TESTNUMBER.txt
--url-query "+%3d%3d"
--data-urlencode "start=once upon the time"
content to _?!#$'|%LT%GT
# Verify data after the test has been "shot"
POST /%TESTNUMBER?my+name+is+moo%5b%5d%AMPyes=s+i+r%AMPv_alue=content+to+_%3f%21%23%24%27%7c%3c%3e%0a%AMPcontent+to+_%3f%21%23%24%27%7c%3c%3e%0a%AMP%3d%3d HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 24
Content-Type: application/x-www-form-urlencoded
start=once+upon+the+time