Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SocialRequest.addMultipartText

Adds multipart data for this request.

Component Version macOS Windows Linux Server iOS SDK
Social 5.3 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes

Deprecated

This function was deprecated.

MBS( "SocialRequest.addMultipartText"; Request; Text; Name; MimeType; filename )   More

Parameters

Parameter Description Example
Request The reference number for the social request as you got it from SocialRequest.New function. $request
Text The text to include in request. "Hello World"
Name The name for this parameter. "status"
MimeType The MIME type for this data. "text/plain"
filename The file name for this data. "Hello.txt"

Result

Returns OK or error.

Description

Adds multipart data for this request.
Specify a named MIME multi-part value. If you set parameters, the parameters will automatically be added as form data in the multi-part data.
You can use Text.FileExtensionToMimeType to find the mime type for a file extension.

See also

This function is free to use.

Created 28th August 2015, last changed 12nd June 2020


SocialRequest.addMultipartContainer - Socket.AcceptNewConnection