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

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

MBS( "CURL.FormAddKeyValue"; Handle; name; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
name The name of the form field. "city"
value The value for the form field. "Nickenich"

Result

Returns "OK" or error code.

Description

Add a section to a multipart/formdata HTTP POST.
This adds simply form field with a given name and value.

Examples

Sets city in a form

MBS( "CURL.FormAddKeyValue"; $curl; "City"; "Nickenich" )

Feedback: Report problem or ask question.




Links
MBS REALbasic Plugins - Nachhilfe in Kell