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: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

CURL.GetFormData

Queries form data as it would be sent currently.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 8.2 Yes Yes Yes Yes Yes

MBS( "CURL.GetFormData"; Handle )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl

Result

Returns text or error.

Description

Queries form data as it would be sent currently.
If you use functions like CURL.FormAddKeyText, you can check here how things would be sent.

Examples

Build form data:

Set Variable [ $curl ; Value: MBS("CURL.New") ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "firma"; Test::firma) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "name"; Test::name) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "strasse"; Test::strasse) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "plz"; Test::plz) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "ort"; Test::ort) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "land"; Test::land) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "telefon"; Test::telefon) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "email"; Test::email) ]
Set Variable [ $result ; Value: MBS("CURL.FormAddKeyValue"; $curl; "comment"; Test::comment) ]
Set Variable [ $result ; Value: MBS("CURL.FormFinish"; $curl) ]
Set Field [ Test::DebugMessages ; MBS("CURL.GetFormData"; $curl) ]
Set Variable [ $result ; Value: MBS("CURL.Cleanup"; $curl) ]

See also


CURL.GetFinishedScriptName   -   CURL.GetHTTPAuthAvail

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins