Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

CURL.GetOptionHTTPHeader

Queries HTTP request headers.

Component Version macOS Windows Linux Server FileMaker iOS SDK
CURL 8.2 Yes Yes Yes Yes Yes
MBS( "CURL.GetOptionHTTPHeader"; curl )   More

Parameters

Parameter Description Example
curl 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 PDF Plugins

Start Chat