簡體   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