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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CURL.GetEffectiveMethod

Get the last used effective HTTP method.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns text or error.

Description

Get the last used effective HTTP method.
In cases when you've asked libcurl to follow redirects, the method may very well not be the same method the first request would use.

Examples

Query it:

Show Custom Dialog [ "EffectiveMethod" ; MBS( "CURL.GetEffectiveMethod"; $curl ) ]

Release notes

Blog Entries

This function checks for a license.

Created 19th August 2020, last changed 19th August 2020


CURL.GetDebugWithTime - CURL.GetEffectiveURL

💬 Ask a question or report a problem