1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.