问题描述
我正在调用Azure Rest API使用Web服务转换通过informatica云列出目录(内部容器)中的所有blob。但是在运行映射InvalidUri
时出现错误,请求的URI不代表任何资源在服务器上。
API:https://
解决方法
无法重现您的问题,REST API-List Blobs
在我这方面工作正常。
您可以参考以下示例,确保您使用的示例与我的示例相同。
注意::使用prefix
时,您已经在url中使用了容器名training
,请不要在参数中再次使用它, prefix=Type/Class
。
请求网址:
GET https://accountname.blob.core.windows.net/training?restype=container&comp=list&prefix=Type/Class
请求标头:
x-ms-version = 2019-12-12
在邮递员中测试:
我的存储结构: