<cUrl_Http>.Include

<< Click to Display Table of Contents >>

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

<cUrl_Http>.Include

 

Description

 

Get / Set option for performing the request in insecure mode.

 

Syntax

 

' GET

includeFlag = <cUrl_Http>.Include

 

' SET

<cUrl_Http>.Include = includeFlag

 

Returns

 

Value of the .Include flag.

 

Parameters

 

Name

Type

Optional

Meaning

includeFlag

Boolean

Yes

Boolean flag to include response headers in output.

 

Remarks

 

Official documentation of the include flag: https://curl.se/docs/manpage.html#-i

 

Restrictions

 

See also

 

Examples

 

uses "curl"

 

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

 

httpRequest.Include = True  ' Instructs CURL to include headers in output

 

httpRequest.Exec