Up |
_networkSetHTTPpost
Send a simple HTTP POST request.
Prototype :
fun [ObjNetwork S S S] ObjNetwork
- ObjNetwork : a network object created with _networkCreate.
- S : an url to send the request, like "
http://www.domain.tld/folder/script.ext
". If this is nil, this argument will be set to "localhost
". - S : the data to send, like "
name=iri&project=scol
". - S : the header. Can be nil, in this case, the default header is set :
"
Content-Type: application/x-www-form-urlencoded
".
Return : ObjNetwork the same object or nil if an error occurs. In this last case, _networkGetError gives you informations.
See also :
Example :