I need uploade file to be access public without token. like below
curl -X "PUT" "https://{endpoint}/{bucket-name}/{object-name}" \ -H "x-amz-acl: public-read" \ -H "Authorization: Bearer {token}" \ -H "Content-Type: text/plain; charset=utf-8" \ -d "{object-contents}"
how to use sdk to do that?
I need uploade file to be access public without token. like below
curl -X "PUT" "https://{endpoint}/{bucket-name}/{object-name}" \ -H "x-amz-acl: public-read" \ -H "Authorization: Bearer {token}" \ -H "Content-Type: text/plain; charset=utf-8" \ -d "{object-contents}"
how to use sdk to do that?