Before sending multipart content using the HTTP_SEND_MULTI or HTTP_RESPOND_MULTI activities, you must execute this activity one or more times to add the multipart name-value pair or file data items to be sent.
You may use this activity in either of or a combination of two ways:
- Execute it once for each multipart name-value or file item that you wish to send.
- Assign the multipart items types, names and values to variable lists and set them all at once by specifying the variable lists on the HTTP_MULTIPART_TYPE , HTTP_MULTIPART_NAME and HTTP_MULTIPART_VALUE parameters.
INPUT Parameters:
HTTP_HANDLE: Required
This parameter must specify the session handle value that identifies the HTTP session upon which this activity should operate. The session handle value is returned by the HTTP_BEGIN_INBOUND or HTTP_BEGIN_OUTBOUND activity.
HTTP_MULTIPART_TYPE: Required
This parameter must specify the value 'FIELD' to add name-value pair item(s) or the value 'FILE' to add a file data item(s).
HTTP_MULTIPART_NAME: Required
This parameter must specify the name(s) for the name-value pair or file items to be sent.
HTTP_MULTIPART_VALUE: Required
This parameter must specify the value(s) for the name-value pair or file items to be sent. For file items, the value must be the path and file name of the file to be sent.
OUTPUT Parameters:
There are no output parameters.