Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
This function is free to use.
Created 28th August 2015, last changed 12nd June 2020