Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

CURL.GetOptionHTTPHeader

Queries HTTP request headers.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 8.2 Yes Yes Yes Yes Yes

MBS( "CURL.GetOptionHTTPHeader"; Handle )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl

Result

Returns list or error.

Description

Queries HTTP request headers.

Examples

Set and get headers:

Set Variable [ $curl ; Value: MBS("CURL.New") ]
Set Variable [ $r ; Value: MBS( "CURL.SetOptionHTTPHeader"; $curl; "Content-Type: application/json¶Test: hello"; "Other: 1234" ) ]
Show Custom Dialog [ "Headers" ; MBS( "CURL.GetOptionHTTPHeader"; $curl) ]

See also

Created 16th April 2018, last changed 17th April 2018


CURL.GetOptionHTTP200Aliases   -   CURL.GetOptionMailRecipients

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins