post ( string url , map[string:string] _postData , boolean _activeComplexEncodingDetection , string _referer ) : string
Send a POST request. data is an associative array with key and values.
Example
post("http://site.com/page.php",
["name":"Doe" , "firstname":"John"]
)
See also
postBodypostFile
postBinary
httpHeader
httpHeaderClear
Parameters
url
_postData (optional)
map of data to send in the POST request.
_activeComplexEncodingDetection (optional)
default:false. If the destination page have encoding different to UTF-8.
_referer (optional)
Referer header. It is the origin page indicated.