Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
CURL.SetOptionGet
Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works
MBS( "CURL.SetOptionGet"; handle; value )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Handle | The CURL session handle. | $curl |
| Value | Whether to do a GET transfer. | 1 |
Result
Returns "OK" on success.
Description
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.
Feedback: Report problem or ask question.
Links
MBS REAL studio tutorial videos - Nachhilfe in Eich