-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.EasyHandle.SetFormData
Andrew Lambert edited this page Nov 26, 2022
·
18 revisions
libcURL.EasyHandle.SetFormData
Sub SetFormData(FormData As libcURL.MultipartForm)
Sub SetFormData(FormData() As String)
Sub SetFormData(FormData As libcURL.MIMEMessage)| Name | Type | Comment |
|---|---|---|
| FormData | MultipartForm |
An HTTP form. |
| Name | Type | Comment |
|---|---|---|
| FormData |
String array |
An HTTP form. |
| Name | Type | Comment |
|---|---|---|
| FormData | MIMEMessage |
An MIME form. |
To encode the form using multipart/form-data, pass a MultipartForm object. You may also pass a Dictionary of NAME:VALUE pairs to be automatically converted into a MultipartForm
To encode the form using application/x-www-form-urlencoded, pass an array of URL-encoded NAME=VALUE strings comprising HTTP form elements.
Call EasyHandle.ClearFormData to clear the form before reusing the EasyHandle.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.