Added curl example to README.

This commit is contained in:
kalzu rekku 2024-06-02 19:50:01 +03:00
parent 3e7e66eb03
commit b7eda04c04

View File

@ -13,6 +13,9 @@ fastapi dev app/main.py
# Start posting data to the tracing endpoint: # Start posting data to the tracing endpoint:
traceroute git.rauhala.info -q1 | http POST localhost:8000/trace/MYHOSTNAME 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 ## URLs of interest