1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

change curl -X post to curl -X POST (#614)

This commit is contained in:
Michael Clayton
2023-03-29 22:46:10 -04:00
committed by GitHub
parent e475c8f324
commit 03c6bd8bea

View File

@ -10,7 +10,7 @@ cargo run
Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client:
```sh
curl -X post 127.0.0.1:8080/broadcast/my_message
curl -X POST 127.0.0.1:8080/broadcast/my_message
```
_my_message_ should appear in the browser with a timestamp.