dreamfactorysoftware / dreamfactory

DreamFactory API Management Platform
https://www.dreamfactory.com
Apache License 2.0
1.56k stars 315 forks source link

Upload to Amazon S3 (script > PHP), How? #155

Closed luisbatista closed 7 years ago

luisbatista commented 7 years ago

Hello,

I have problems to make to work an upload to Amazon S3 using the PHP script service.

I have activate the “File” > “AWS S3” service, configured and tested with API DOCS, using an upload of a URL file, and works.

Ok, now I create a PHP Script Service to manage post from the website to this service, I receive the image in Base64, and want to save to AWS S3.

The cURL is:

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-DreamFactory-Api-Key: 36fda24fe5588fa4285ac6c6c2fdfbdb6b6bc9834699774c9bf777f706d05a88' --header 'X-DreamFactory-Session-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIwMjdiMTFlYzUwY2ZjMjM2NjAwN2ZiYmI1MDQ2MjE0YyIsImlzcyI6Imh0dHA6Ly9kZXZlbG9wZXIudmllZ3kuY29tL2FwaS92Mi9zeXN0ZW0vYWRtaW4vc2Vzc2lvbiIsImlhdCI6MTUwMDg4NzM2NiwiZXhwIjoxNTAwODkwOTY2LCJuYmYiOjE1MDA4ODczNjYsImp0aSI6Im96dldJRUFqMzhOQ3pNMFciLCJ1c2VyX2lkIjoxLCJmb3JldmVyIjpmYWxzZX0.4DK7oypio6ybGWUqlvA48_DEdtgs9gWM3ekSfn_Nxgg' --header 'Authorization: Basic dmllZ3ljb3JwQGdtYWlsLmNvbTpBbHdheXNVcCE=' -d '{
  "resource": [
    {
      "name": "imagename.jpg",
      "path": "games",
      "content_type": "image/jpg",
      "content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKC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z5sXM10CL0ER7p4+ZToQNgS/qgyuhuQn18qaE4T0KPxiZJytMwL6+YoyroJrCmEtR3I6IF+oy1NhLkfprd0YnVGKR9C6cJ1pOk/R6Cx1Z/lEU50qKPZjEro0PrZDy0+fAH6rQ1zP7UlHLA1krEGsjYBNnDJSjCpdSOwVJwYJgGRzGT54pLUOHSTwv6UtlOopdv/o4oDAdP+FAAEJYVEqAZZ70YVibE1N83qDb0jEkdQZUQEyI4f2n0n8BIYQ2wEtK7j93sew5Gy0CTa3mrQjo32BkyvOof2lSWS+aPpPwr3wsuTD7SgL/ALXGVENZaRu3QqfsbqLMdXP8qGQXIkhLpdoUpMmSwap4qfrtK4rCpJelY2Cz/agRMW5SdE1KC/yXepgg1/5hQTVUAAsK0TWM/hFuqBBmYRzirLcEC7SFcA0DjsAa8gt3XpRkQf4gE96FJaBCwJYUgJzJsgBYj0ioGs34CBXaUniatW3QKyxN/vStS2lA4jZ5ZqJyIBL9mOw6tAFCNxNfwpsesA8GNhl4JTVdG2+yHB6iSBR7N8Lvl0XsZEJjbA5O7QHepr6lwtCJ1PRODYaWg0Shbt05W6Zooj5QD+JhG42fwBpMIYlTukFMlZZpOAaAQBoAejYlxUoog5HxwYF3gvV9uLgzL6r9EBY9q55AgxvgBrh1hvSIsOBsiN/VfJxVo7JxCXPD8BJ5ySArygxzFNnuBJ6JWj0DQ9Yh5qBU5SHj+dAluiJP/ecvuipRoCLsBcHh7RQDVexDkvNCMly1PJSUQIxuCOUkQbzj3f/Z",
      "metadata": [
         "ContentEncoding" => "base64",
        "x-amz-storage-class" => "REDUCED_REDUNDANCY"
      ]
    }
  ]
}' 'http://developer.fakedomain.com/api/v2/storages3?extract=false&clean=false&check_exist=false'

And get this:

{
  "error": {
    "code": 400,
    "context": null,
    "message": "Invalid empty path.",
    "status_code": 400
  }
}

This is the message returned by API DOCS, but if I try to make the same using Postman I get a “Forbidden” message!

I try in the path put this: "https://s3-eu-west-1.amazonaws.com/myfolder/games", but get same message.

Can help me to put this to work? The Amazon S3 service, in DF, only works for images in a Url ?

Best regards, LB

df-arif commented 7 years ago

@luisbatista , all folder path should end with a slash (/). In your example use "games/" instead of "games". In S3 and other cloud based storages folders are merely a file prefix. Therefore, DF requires a slash at the end of a folder name to treat it as a folder rather than a file.

luisbatista commented 7 years ago

Hello @df-arif ,

Thank you for your reply.

I made another solution, create a external script (in the public folder) who receive a POST from my DF script with the content and other information and upload to Amazon S3. This external script use the lib "aws" in 'vendor' folder of DF and can process files in batch.

But I think is important to have a complete (and can be run) example to implement an Amazon S3 integration. The current information and examples are very vague and do little to make a proper implementation of this service.

Best regards, LB

df-arif commented 7 years ago

I am glad you found another solution and were able move on. Thank you for your feedback. We are always trying to improve our docs and examples and will take your feedback into consideration.