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.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

CURL.SetOptionPut

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 )

Parameters

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

Result

Returns "OK" on success.

Description

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.

Examples

Turns put on:

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

See also

Example Databases


CURL.SetOptionProxyUsername   -   CURL.SetOptionQuote

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins