Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.GetFormData

Queries form data as it would be sent currently.

Component Version macOS Windows Linux Server iOS SDK
CURL 8.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.GetFormData"; curl )   More

Parameters

Parameter Description Example
curl 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.Release"; $curl) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 14th April 2018, last changed 19th April 2020


CURL.GetFinishedScriptName - CURL.GetHTTPAuthAvail