CURL.GetFormData
----------------

Queries form data as it would be sent currently.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [CURL](component_CURL.md) | [8.2](newinversion82.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "CURL.GetFormData"; curl ) 

**MBS**( **"CURL.GetFormData";** /\* Queries form data as it would be sent currently. \*/  
**$curl**) /\* The CURL session handle. \*/ 

### 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](CURLFormAddKeyText.md), you can check here how things would be sent.  
### Examples

Build form data:

 Set Variable \[ $curl ; Value: MBS ("[CURL.New](CURLNew.md)") \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "firma"; Test::firma ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "name"; Test::name ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "strasse"; Test::strasse ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "plz"; Test::plz ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "ort"; Test::ort ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "land"; Test::land ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "telefon"; Test::telefon ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "email"; Test::email ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormAddKeyValue](CURLFormAddKeyValue.md)"; $curl ; "comment"; Test::comment ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.FormFinish](CURLFormFinish.md)"; $curl ) \]   
Set Field \[ Test::DebugMessages ; MBS ("CURL.GetFormData"; $curl ) \]   
Set Variable \[ $result ; Value: MBS ("[CURL.Release](CURLRelease.md)"; $curl ) \]  
### See also

- [CURL.FormAddKeyText](CURLFormAddKeyText.md)
- [CURL.FormAddKeyValue](CURLFormAddKeyValue.md)
- [CURL.FormFinish](CURLFormFinish.md)
- [CURL.New](CURLNew.md)
- [CURL.Release](CURLRelease.md)

### Release notes

- **Version 8.2**
    - Added [CURL.GetFormData](http://www.mbsplugins.eu/CURLGetFormData.shtml) function.

### Example Databases

- [CURL/WebServices/AdobeSign WebService](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/CURL/WebServices/AdobeSign%20WebService.shtml#17ScriptAnchor_)

### Blog Entries

- [MBS FileMaker Plugin 8.2 - More than 5200 Functions In One Plugin](https://www.mbsplugins.de/archive/2018-05-22/MBS_FileMaker_Plugin_82_-_More/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 8.2 - 5200 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2018-05-22/MBS_FileMaker_Plugin_82_-_5200/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.2pr3](https://www.mbsplugins.de/archive/2018-04-18/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[CURL.GetFinishedScriptName](CURLGetFinishedScriptName.md) - [CURL.GetHTTPAuthAvail](CURLGetHTTPAuthAvail.md)

[HTML Version](CURLGetFormData.shtml)