-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.SetFormData
#libcURL.EasyHandle.SetFormData
##Method Signatures
Sub SetFormData(FormData As Dictionary)
Sub SetFormData(FormData() As String)##Parameters
###SetFormData(Dictionary)
| Name | Type | Comment |
|---|---|---|
| FormData | Dictionary |
An HTML form. |
###SetFormData(String())
|
||
| Name | Type | Comment |
| ---- | ---- | ------- |
| FormData |
String array |
An HTML form. |
##Notes
To encode the form using multipart/form-data, pass a Dictionary of NAME:VALUE pairs comprising HTML form elements: NAME is a string containing the form-element name; VALUE may be a string or a FolderItem.
To encode the form using application/x-www-form-urlencoded, pass an array of URL-encoded NAME=VALUE strings comprising HTML form elements.
The FormData array contains NAME=VALUE strings comprising HTML form elements. The form will be encoded as application/x-www-form-urlencoded.
Call EasyHandle.ClearFormData to clear the form before reusing the cURLManager.
##See also
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-26 Andrew Lambert, offered under the CC BY-SA 3.0 License.