postBody

postBody ( string url , string body , string _contentType , proxy _proxy , map[string:string] _httpHeaders ) : string

Send a non standard POST request. You set up yourself the body content of the POST request.

See also

post
postFile
postBinary
httpHeader
httpHeaderClear
getPage

Parameters

url

body

body content of the POST request.

_contentType (optional)

header Content-Type. By default: "application/json". For example "application/x-www-form-urlencoded"

_proxy (optional)

Usefull in multi-thread context to directly indicate a proxy. You can have this proxy using "return_proxy" option in changeProxy.

_httpHeaders (optional)

HTTP Headers to force. Use that in multi-thread context. Else use just httpHeader before, it is simpler!