Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.FormFinish
Finishes constructing a form.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.FormFinish"; curl ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Result
Returns "OK" or error code.
Description
Finishes constructing a form.The form is assigned to the HTTPPost property.
Use CURL.GetFormData function to query form and see whether it's correct.
Please call before CURL.Perform and after all CURL.FormAdd* calls.
Examples
Sets form values and finishes:
MBS( "CURL.FormAddKeyValue"; $curl; "login"; "testuser" )
MBS( "CURL.FormAddKeyValue"; $curl; "password"; "xxx" )
MBS( "CURL.FormFinish"; $curl )
Add PDF container:
Set Variable [ $r; Value: MBS( "CURL.FormAddKeyContainerContentType"; $curl; "file"; "document.pdf"; Test::MyContainer; "application/pdf") ]
Set Variable [ $r; Value: MBS( "CURL.FormFinish"; $curl ) ]
See also
- CURL.FormAddKeyContainer
- CURL.FormAddKeyContainerContentType
- CURL.FormAddKeyFile
- CURL.FormAddKeyFileContentType
- CURL.FormAddKeyText
- CURL.FormAddKeyTextContentType
- CURL.FormAddKeyValue
- CURL.FormAddKeyValueContentType
- CURL.Perform
- CURL.SetOptionPassword
Example Databases
- CURL/CURL Send Form
- CURL/WebServices/AdobeSign WebService
- CURL/WebServices/TinyURL
- Third Party/Google OAUTH 2 example
Blog Entries
This function checks for a license.
Created 18th August 2014, last changed 10th December 2020