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.SetInputText

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetInputText"; handle; text; encoding )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
text The text to send.
Encoding Optional. Default is native. Can be one of the following strings: ansi, windows, mac, latin1, utf8. UTF8

Result

Returns "OK" on success.

Description

Sets input data for this transfer to be the text you provide.
Also sets input file length. You need to define input data for file uploads, http posts and http put operations.
Please make sure you choose the text encoding the other side expects.

Examples

Set Text:

MBS("CURL.SetInputText"; $curl; "Hello World"; "utf8")

Feedback: Report problem or ask question.




Links
MBS Realbasic Plugins - Christians Software aus Nickenich