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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.GetOptionHTTPHeader

Queries HTTP request headers.

Component Version macOS Windows Linux Server 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.