Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


SocialRequest.addMultipartContainer - Socket.AcceptNewConnection

Feedback: Report problem or ask question.