Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CURLSMBS.SetupAWS(AWSAccessKeyId as String, AWSSecretAccessKey as String, Region as String, Service as String, Path as String, Domain as String, Verb as String, HashedPayload as String = "", Headers() as String = nil) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 17.2 Yes Yes Yes Yes No
Function: Setup CURL to transfer to Amazon Webservices.
This implements AWS4-HMAC-SHA256 signature for credentials, sets authentication, URL, HTTP Headers and other parameters.
For upload or post, please set input parameters first.

AWSAccessKeyIdYour access key for AWS.
AWSSecretAccessKeyYour secret.
RegionThe region to use."eu-central-1"
ServiceThe service to use."s3"
PathThe path for the URL. Should always start with "/"."/test.jpg"
DomainOptional the domain to use. By default we just build it from region and service."s3.eu-central-1.amazonaws.com" or "s3-ap-southeast-2.amazonaws.com"
VerbThe HTTP Operation to do. Can be POST, PUT, GET or DELETE."PUT"
HashedPayloadThe hashed payload. If empty, we calculate it automatically from input data or postfields.
HeadersOptional extra HTTP headers to include."x-amz-acl: public-read"

Returns true on success or false on failure.

Feedback, Comments & Corrections

CURLSMBS.UseSystemCertificates as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method CURL MBS CURL Plugin 17.2 Yes Yes No Yes No
Function: Read certificate from system and installs them in CURL session,.
For macOS and Windows we load the available certificates from keychain or Windows Certificate Store and pass them to CURL. This is better than having no certificates at all.
Even better is normally to provide a cacert.pem file with only the expected certificates.

Returns number of certificates loaded.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS CURL Plugin.

MBS FileMaker Plugins