Hello,
I need to use an Amazon S3 service in my DF, but need help to properly configured and use in a Script (another service inside DF).
I Create an Amazon S3 service and put the credentials.
I Create a service Script (in PHP) and when a POST to this service a Base64 image I want to send to Amazon S3, but can do this, can help me with and PHP example to use this?!
My code is like this:
$service = "storages3";
$path = "/images";
$payload = array( "resource" => array(
"name" => "filename.jpg",
"path" => "images/filename.jpp",
"content" => "base64 long string"
)
);
$res = $post($service.$path,$payload);
I don’t see a document where explain how correctly configure DF to use amazon s3 and then a script (php) to call and save a Base64 image.
Any suggestion?!
Best regards,
Luis Batista