<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > CURL > Curl_Command_GetLastCommand |
Description
Returns the command from the last Curl_Command call.
Syntax
curlCommand = Curl_Command_GetLastCommand
Returns
Complete curl command executed by the last Curl_Command call.
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