Previous | Up | Next |
DEPRECATED
Send a http request to a specific url with a specific verb (which would probably be POST). This is asynchronous. When server responds, the callback is fired, with following arguments.Parameters
- connection
- user parameter
- data parameter : depends on the following parameter
- state code :
0 some data has been received, and can be read in the received data parameter 1 end of request. received data is nil. This is the last call of the callback. other an error occured during the request. received data is nil. This is the last call of the callback
INET INETGetURLex ( Chn _channel_ S _verb_ S _url_ S _post_data_ I _mode_ fun [INET u0 S I] u1 _callback_ u0 _user_ )
Return value
_channel_ any channel _verb_ http verb : should be 'POST' _url_ url _post_data_ body of the request _mode_ should be 0 _callback_ callback function, called when data is retrieved from server. _user_ user parameter
new request
INETGetURLex2 should be used instead in all new applications.