【发布时间】:2016-03-06 22:40:21
【问题描述】:
我正在使用以下策略格式并使用策略库 64 和签名 sha 库 64 创建应用程序/json 格式,但得到 p>
“尝试解析签名响应时出错:SyntaxError: Unexpected token s”
你能指出我错在哪里吗:
strToPolicy = "{
""expiration"": ""2015-01-01T12:00:00.000Z"",
""conditions"": [
{""bucket"": manishtests3.s3-website-ap-southeast-1.amazonaws.com },
{""acl"": ""public-read"" },
{""key"": my access key id},
{""x-amz-meta-qqfilename"": Search.png},
]
}"
【问题讨论】: