Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.Options

Queries all CURL options set for this CURL handle.

Component Version macOS Windows Linux Server iOS SDK
CURL 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.Options"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns JSON or error.

Description

Queries all CURL options set for this CURL handle.
This is useful for debugging as the plugin caches all values you set to return them here.

Blob values are Base64 encoded.

Examples

Query options set:

Set Field [ CURL Test::header ; MBS("CURL.Options"; $curl) ]

Example result:
{ "URL": "http://www.monkeybreadsoftware.de/", "Verbose": 1, "NoProgress": 0, "FollowLocation": 1, "SSLVerifyPeer": 0, "MaxRedirs": 3, "ConnectionTimeout": 10, "SSLVerifyHost": 0, "NoSignal": 1, "DisallowUserNameInURL": 1, "UploadBufferSize": 32768 }

See also

Release notes

  • Version 12.4
    • Added CURL.Options function to query JSON with all options set.

Blog Entries

This function is free to use.

Created 22nd August 2022, last changed 21st June 2023


CURL.OpenInputFile - CURL.Perform

💬 Ask a question or report a problem