Merge pull request #30628 from Ayushmore1214/patch-2

Update backend plugin tutorial to refer to /todos endpoint instead of…
This commit is contained in:
Peter Macdonald
2025-11-07 15:53:22 +01:00
committed by GitHub
+12 -3
View File
@@ -48,11 +48,20 @@ 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:
```json
{
"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