Meilisearch 的 Postman 集合

    您是否厭倦在終端機中使用 curl 命令來測試 Meilisearch?當想要嘗試 API 時,重新編寫每個路由可能會很乏味。

    Postman 是一個平台,可讓您建立可以輕鬆重複使用並與所有人分享的 HTTP 請求。我們提供了一個Postman 集合,其中包含 Meilisearch API 的所有路由!🚀

    如果您還沒有 Postman,可以在這裡下載。它是免費的,並且可在許多作業系統發行版上使用。

    匯入集合

    下載Postman 集合後,您需要將其匯入 Postman。

    The "Import" button

    編輯設定

    Selecting "Edit" from the overflow menu

    如果需要,請設定「Token」(預設設定為 masterKey

    The "Token" field set to masterKey and "Type" to Bearer Token in the "Authorization" tab.

    設定 url(預設設定為 Meilisearch 的本機連接埠)和 indexUID(預設設定為 indexUID

    Setting the "URL" to https://127.0.0.1:7700/ and "indexUID" to indexUId in the Variables tab.

    urlindexUID 變數會用於所有集合路由中,如下所示

    Highlighting {url} and {indexUID}

    開始使用!

    現在您可以執行您的 Meilisearch 執行個體並建立您的第一個索引

    The "Send" button