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

CURL.AddInputPNG

Adds input to PNG data from the container value.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.AddInputPNG"; curl; data )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
data The container value with the data to upload.

Result

Returns "OK" on success.

Description

Adds input to PNG data from the container value.
Also sets input file length. You need to define input data for file uploads, http posts and http put operations.
Using SetInput* functions and AddInput* functions you can construct the input data in several function calls. This is useful if you do a multipart upload with text parts and file content mixed.

This is for adding to existing data, but for uploading only a file, you can use CURL.SetInputPNG.

Examples

Add PNG picture from container:

MBS( "CURL.AddInputPNG"; $curl; MyTable::MyContainer )

See also

Release notes

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 7th December 2016


CURL.AddInputPDF - CURL.AddInputText