Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the transfer to be a HTTP Get.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionGet"; Handle; Value )


Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether to do a GET transfer. 1


Returns "OK" on success.


Sets the transfer to be a HTTP Get.
Pass a number. If the number is 1, this forces the HTTP request to get back to GET. Usable if a POST, HEAD, PUT, or a custom request has been used previously using the same curl handle.

When setting value to 1, it will automatically set CURL.SetOptionNoBody to 0.


Turns get on:

MBS( "CURL.SetOptionGet"; $curl; 1 )

See also

CURL.SetOptionFreshConnect   -   CURL.SetOptionHTTP200Aliases

Feedback: Report problem or ask question.

MBS FileMaker Plugins