Performs an HTTP POST
array
httpPost
(string $host, string $path, array $data, [string $encoding = null])
-
string
$host: The hostname of the remote web server
-
string
$path: The path portion of the URL
-
array
$data: A hash where the keys are the POST variable names, the values are the values for those variables
-
string
$encoding: The encoding of the content - if this is not supplied when posting to Dapper, the output may be wrong.