繁体   English   中英

如何通过邮递员调用REST API在Azure中创建索引?

[英]How to call REST API through postman to create index in Azure?

我正在创建一个应用程序,在这里我需要调用与创建数据源相关的REST API,如此处所述: https : //docs.microsoft.com/zh-cn/azure/search/search-howto-indexing-azure-blob-storage

这是我提出要求的方式:

在此处输入图片说明

我收到以下错误:

{
    "error": {
        "code": "",
        "message": "The request is invalid. Details: index : The property 'type' does not exist on type 'Microsoft.Azure.Search.V2016_09_01.IndexDefinition'. Make sure to only use property names that are defined by the type.\r\n"
    }
}

我应该怎么做才能正确设置“类型”?

您发布到错误的网址,请尝试以下操作

https://[service name].search.windows.net/datasources?api-version=2016-09-01

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM