meilisearch / meilisearch-webhook-usage-example

Example of how to use the meilisearch webhook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic webserver to handle the Meilisearch webhook

Meilisearch introduced a webhook to be notified every time a task is processed. See the whole documentation here: https://www.meilisearch.com/docs/learn/async/task_webhook

This repository shows how to receive tasks with the bare minimum requirements.

Usage

Run this code first:

cargo run

Then run Meilisearch on the same machine with the following arguments:

./meilisearch --task-webhook-url http://localhost:9000/

Finally, process a task, and you'll see the payload being deserialized.

About

Example of how to use the meilisearch webhook


Languages

Language:Rust 100.0%