POST /hello HTTP/1.1
Proxy-Connection: keep-alive
Host: 127.0.0.1
Content-type: application/xml
Accept: application/xml
Cache-Control: no-cache
X-TAXII-Services: urn:taxii.mitre.org:services:1.1
X-TAXII-Protocol: urn:taxii.mitre.org:protocol:http:1.0
Accept-Language: en-US,en;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Content-length: 98
####
my $who = $cgi->param('name');
my $msg = $cgi->param('POSTDATA');
my @keywords = $cgi->keywords;
print join(',',@keywords);
print "this is a simple text string who=<$who> param('POSTDATA')=<<$msg>>>\n";
print $cgi->header,
$cgi->start_html("Hello"),
$cgi->h1("Hello $who!"),
$cgi->end_html;
}
####
HTTP/1.0 200 OK
this is a simple text string who=<> param('POSTDATA')=<<>>>
Content-Type: text/html; charset=ISO-8859-1
Hello
Hello !