<cUrl_Http>.Preview

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > CURL > cUrl_Http > cUrl_Http Properties >

<cUrl_Http>.Preview

 

Description

 

Read only property to provide the preview of parameters to be passed to curl.

 

Syntax

 

curlParameters = <cUrl_Http>.Preview

 

Returns

 

String containing the parameters for curl, based on current cUrl_Http object setup.

 

Remarks

 

Returned value does not contain the curl command itself.

 

Restrictions
 

Read only.

 

See also

 

Examples

 

uses "curl", "console"

 

Dim httpRequest As New cUrl_Http("https://www.thinbasic.com")

printl httpRequest.Preview ' Will return something like "--request GET http://www.thinbasic.com" for this simple case