All Functions Modules Pages
http

Functions

STRING http.get (STRING url)
 Download the file indicated a web address to ram. More...
 
BOOLEAN http.getfile (STRING url, STRING path)
 Download the specified file. More...
 
STRING http.post (STRING url, STRING data_out)
 Send data to the file indicated a web address and then download the server response to ram. More...
 
STRING http.post (STRING url, STRING data_out, NUMBER data_len)
 Send data to the file indicated a web address and then download the server response to ram. More...
 
BOOLEAN http.postfile (STRING url, STRING path, STRING data_out)
 Send data file indicated a Web address and then download the server response. More...
 
BOOLEAN http.postfile (STRING url, STRING path, STRING data_out, NUMBER data_len)
 Send data file indicated a Web address and then download the server response. More...
 

Detailed Description

Functions related to Hypertext Transfer Protocol. All actions performed by these functions include an automatic integrated manager cookies.

Function Documentation

STRING http.get ( STRING  url)

Download the file indicated a web address to ram.

Parameters
urlThe web address of the file to download.
Returns
If the file was downloaded successfully, it returns the data, additionally the size of them, otherwise it returns nil.
Note
This function can use the onNetGetFile() callback, more info here .
BOOLEAN http.getfile ( STRING  url,
STRING  path 
)

Download the specified file.

Parameters
urlThe address of the file to download.
pathThe path where the file is saved (you must include the file name).
Returns
true if the file was downloaded successfully, false otherwise.
Note
This function can use the onNetGetFile() callback, more info here .
STRING http.post ( STRING  url,
STRING  data_out 
)

Send data to the file indicated a web address and then download the server response to ram.

Parameters
urlThe Web address file receiver.
data_outThe information that will be sent to the Web server.
Returns
If the file was downloaded successfully, it returns the data, additionally the size of them, otherwise it returns nil.
Note
This function can use the onNetGetFile() callback, more info here .
STRING http.post ( STRING  url,
STRING  data_out,
NUMBER  data_len 
)

Send data to the file indicated a web address and then download the server response to ram.

Parameters
urlThe Web address file receiver.
data_outThe information that will be sent to the Web server.
data_lenThe size of the information that will be sent to the Web server.
Returns
If the file was downloaded successfully, it returns the data, additionally the size of them, otherwise it returns nil.
Note
This function can use the onNetGetFile() callback, more info here .
BOOLEAN http.postfile ( STRING  url,
STRING  path,
STRING  data_out 
)

Send data file indicated a Web address and then download the server response.

Parameters
urlThe Web address file receiver.
pathThe path where the file is saved (you must include the file name).
data_outThe information that will be sent to the Web server.
Returns
true if the file was downloaded successfully, false otherwise.
Note
This function can use the onNetGetFile() callback, more info here .
BOOLEAN http.postfile ( STRING  url,
STRING  path,
STRING  data_out,
NUMBER  data_len 
)

Send data file indicated a Web address and then download the server response.

Parameters
urlThe Web address file receiver.
pathThe path where the file is saved (you must include the file name).
data_outThe information that will be sent to the Web server.
data_lenThe size of the information that will be sent to the Web server.
Returns
true if the file was downloaded successfully, false otherwise.
Note
This function can use the onNetGetFile() callback, more info here .