MoneyWorks Manual
Curl_Init ([optional_url])
Result Type: A curl handle
Definition: Starts a CURL session. Returns a curl handle for use with the other Curl_
functions. The functions closely follow (indeed are wrappers for) the standard curl easy API. For additional background on curl, see the curl project website.
Including a url in curl_init
is equivalent to doing a curl_setopt(ch, CURLOPT_URL, url)
.
Example:
let ch = curl_init("http://download.finance.yahoo.com/d/quotes.csv?s=NZDUSD=X&f=sl1d1t1ba&e=.csv")
Availability: available within MWScript handlers.
See Also:
Base64Decode: String from a base64 encoding
Base64Encode: Base64 of a string
Curl_Close: Finish with a CURL session
Curl_Exec: Execute a CURL session
Curl_GetInfo: Get information about a CURL transfer
Curl_StrError: Get an error message from a CURL object
URLEncode: Convert url unsafe characters in a string to "%xx”