<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CURL > Curl_Command_GetLastOutput |
Description
Returns the output from the last Curl_Command call.
Syntax
flag = Curl_Command_GetLastOutput
Returns
Output from the last Curl_Command call as string.
Parameters
Remarks
Restrictions
See also
Examples
uses "curl", "console"
if Curl_Exists then
Curl_Command("--request GET https://www.thinbasic.com")
PrintL "Command : " + Curl_Command_GetLastCommand
PrintL "Output : " + Curl_Command_GetLastOutput
PrintL "Exit code: " + Curl_Command_GetLastExitCode
else
PrintL "No CURL available."
end if
WaitKey