Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- Version 10.4
- Added CURL.GetEffectiveMethod and CURL.GetRetryAfter functions.
Blog Entries
This function checks for a license.
Created 19th August 2020, last changed 19th August 2020