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.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


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"; curl )   More


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


Returns list or error.


Queries HTTP request headers.


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.

MBS Xojo tutorial videos