Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem