Question
DigitalOcean spaces presigned url upload accessdenied
Hello. I am following the s3 examples guide for digital ocean spaces here :https://www.digitalocean.com/docs/spaces/resources/s3-sdk-examples/ and have just created a presignedurl to upload an object. It seems to be working fine and I have a url to upload the object to, however when I curl -X PUT a file to this url, I am getting the following json response:
<?xml version=“1.0” encoding=“UTF-8”?><Error><Code>AccessDenied</Code><RequestId>tx000000000000006cf20aa-005ff38027-2a11b61-nyc3c</RequestId><HostId>2a11b61-nyc3c-nyc3-zg03</HostId></Error>‘Content-Type’ is not recognized as an internal or external command,
operable program or batch file.
'Expires’ is not recognized as an internal or external command,
operable program or batch file.
'Signature’ is not recognized as an internal or external command,
operable program or batch file.