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.5
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
Statistic
FMM
Blog
CURL.GetResultAsMime
Queries the result of the CURL transfer and parses as mime data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
CURL | 10.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | Free |
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Result
Returns email parser reference number or error.
Description
Queries the result of the CURL transfer and parses as mime data.If you got an answer from a web service with multi part mime output, this function will parse it with our mime parser (normally used for emails) and then return you the object reference.
Please use EmailParser.Free to free it later and release memory.
Examples
Get image objects:
Set Variable [ $email ; Value: MBS("CURL.GetResultAsMime"; $curl) ]
Set Field [ test::Part1 ; MBS( "EmailParser.Inline"; $email; 0; "container") ]
Set Field [ test::Image ; MBS( "EmailParser.Inline"; $email; 1; "container") ]
Set Variable [ $email ; Value: MBS("EmailParser.Free"; $email) ]
See also
- CURL.GetResultAsData
- CURL.GetResultAsEmail
- CURL.GetResultAsGIF
- CURL.GetResultAsJPEG
- CURL.GetResultAsPDF
- CURL.GetResultAsPNG
- CURL.GetResultAsText
- EmailParser.Free
- EmailParser.Inline
Release notes
- Version 10.0
- Added CURL.GetResultAsMime function.
Blog Entries
Created 12nd December 2019, last changed 12nd December 2019
CURL.GetResultAsJPEG - CURL.GetResultAsPDF
Feedback: Report problem or ask question.
