http_get
Getting data via the HTTP protocol. The method sends a GET request to the specified URL and writes data it receives to the databuf buffer.
func uint http_get (
str url,
buf databuf,
uint notify,
uint flag,
str otherpars
)
str url,
buf databuf,
uint notify,
uint flag,
str otherpars
)
Parameters
url | The URL address data is received from. | ||||||||
databuf | The buffer for getting data. | ||||||||
notify | The function for getting notifications. It can be 0. | ||||||||
flag | Flags.
|
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |