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 transfer to be a HTTP Put.

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

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


Parameter Description Example value
Handle The CURL session handle. $curl
Value Whether this is a PUT request. 1


Returns "OK" on success.


Sets transfer to be a HTTP Put.
A parameter set to 1 tells the library to use HTTP PUT to transfer data. The data should be set with CURL.SetInputText or other functions.
This option is deprecated and starting with version 7.12.1 you should instead use CURL.SetOptionUpload.


Turns put on:

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

See also

Example Databases

CURL.SetOptionProxyUsername   -   CURL.SetOptionQuote

Feedback: Report problem or ask question.

MBS Xojo blog