【发布时间】:2021-05-07 11:53:39
【问题描述】:
我正在尝试按照以下文档通过 REST API 查询 Azure 查询 blob 内容
https://docs.microsoft.com/en-us/rest/api/storageservices/query-blob-contents
我公开了我的 blob 内容以供测试,并且对 blob URI 的 GET 请求正在提供内容,但对提到的 URI 发出了发布请求
https://myaccount.blob.core.windows.net/mycontainer/myblob?comp=query (替换了 myaccount、mycontainer 和 myblob)
以下错误提示我
<Error>
<Code>InvalidQueryParameterValue</Code>
<Message>Value for one of the query parameters specified in the request URI is invalid.
RequestId:1c52fc4f-801e-0061-63fc-f98163000000
Time:2021-02-03T07:15:32.9547540Z</Message>
<QueryParameterName>comp</QueryParameterName>
<QueryParameterValue>query</QueryParameterValue>
<Reason />
</Error>```
blob content is JSON and Blob is a Block Blob type
【问题讨论】:
标签: azure blob azure-blob-storage azure-rest-api