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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

SocialRequest.addMultipartContainer

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.addMultipartContainer"; Request; Data; 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
Data The container to get data from.
Name The name for this parameter. "image"
MimeType The MIME type for this data. "image/jpeg"
filename The file name for this data. "image.jpg"

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.SetURL - SocialRequest.addMultipartText

Feedback: Report problem or ask question.