Update backend plugin tutorial to refer to /todos endpoint instead of /health

This PR updates the backend plugin tutorial documentation to match the current plugin template.
Previously, the tutorial referenced a /health endpoint, which does not exist in the generated backend plugin.

Signed-off-by: Ayush More <ayushmore42595@gmail.com>
This commit is contained in:
Ayush More
2025-07-23 18:51:54 +05:30
parent 836b0c7552
commit f0c4ad7292
+10 -3
View File
@@ -48,11 +48,18 @@ This will think for a bit, and then say `Listening on :7007`. In a different
terminal window, now run
```sh
curl localhost:7007/api/carmen/health
curl localhost:7007/api/carmen/todos
```
This should return `{"status":"ok"}`. Success! Press `Ctrl + c` to stop it
again.
You should see the following response:
```sh
{
"items": []
}
```
:::note Note: The route shown here matches the default in the current backend plugin template. If you want a `/health` endpoint for health checks, you can add it to your router yourself.
:::
## Developing your Backend Plugin