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 http://localhost:7700/ and "indexUID" to indexUId in the Variables tab.

    urlindexUID 变量用于所有集合路由中,例如这个

    Highlighting {url} and {indexUID}

    开始使用吧!

    现在您可以运行您的 Meilisearch 实例并创建您的第一个索引

    The "Send" button