From b7eda04c043b284df8bcaa34a29a921cc833b302 Mon Sep 17 00:00:00 2001 From: kalzu rekku Date: Sun, 2 Jun 2024 19:50:01 +0300 Subject: [PATCH] Added curl example to README. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 076e9d1..6fccf81 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ fastapi dev app/main.py # Start posting data to the tracing endpoint: traceroute git.rauhala.info -q1 | http POST localhost:8000/trace/MYHOSTNAME +or, with curl: +traceroute tuoppi.dy.fi -q1 | curl -X POST http://localhost:8000/trace/MYHOSTNAME --data-binary @- + ``` ## URLs of interest