HTTP
HTTP POST
#
# Server-side
HTTP/1.1 200 OK swsclose
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Length: 3
OK
# Client-side
http
# tool is what to use instead of 'curl'
lib515
make a POSTFIELDS set to NULL with POSTFIELDSIZE set to zero
http://%HOSTIP:%HTTPPORT/515
#
# Verify data after the test has been "shot"
POST /515 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Content-Length: 0
Content-Type: application/x-www-form-urlencoded