HTTP
HTTP POST
--data-urlencode
#
# Server-side
HTTP/1.1 200 I am cool swsclose
Server: Cool server/10.0
Content-Length: 0
#
# Client-side
http
--data-urlencode
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --data-urlencode "my name is moo[]" --data-urlencode "y e s=s_i_r" --data-urlencode "v_alue@log/%TESTNUMBER.txt" --data-urlencode @log/%TESTNUMBER.txt
content to _?!#$'|<>
#
# Verify data after the test has been "shot"
POST /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Content-Length: 119
Content-Type: application/x-www-form-urlencoded
my+name+is+moo%5B%5D&y e s=s_i_r&v_alue=content+to+_%3F%21%23%24%27%7C%3C%3E%0A&content+to+_%3F%21%23%24%27%7C%3C%3E%0A