Added curl example to README.
This commit is contained in:
parent
3e7e66eb03
commit
b7eda04c04
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user