Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
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"; curl; Value ) More
Parameters
Parameter | Description | Example value |
---|---|---|
curl | 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.
See also PUT option in CURL manual.
Examples
Turns put on:
MBS( "CURL.SetOptionPut"; $curl; 1 )
See also
- CURL.SetInputText
- CURL.SetOptionGet
- CURL.SetOptionNetRC
- CURL.SetOptionPort
- CURL.SetOptionPost
- CURL.SetOptionPreQuote
- CURL.SetOptionProxy
- CURL.SetOptionQuote
- CURL.SetOptionRange
- CURL.SetOptionTimeOut
- CURL.SetOptionUpload
- CURL.SetOptionURL
Example Databases
Created 18th August 2014, last changed 8th December 2016
CURL.SetOptionProxyUsername - CURL.SetOptionQuote
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins