mirror of
https://github.com/actix/examples
synced 2024-11-27 16:02:57 +01:00
change curl -X post
to curl -X POST
(#614)
This commit is contained in:
parent
e475c8f324
commit
03c6bd8bea
@ -10,7 +10,7 @@ cargo run
|
|||||||
Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client:
|
Open http://127.0.0.1:8080/ with a browser, then send events with another HTTP client:
|
||||||
|
|
||||||
```sh
|
```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.
|
_my_message_ should appear in the browser with a timestamp.
|
||||||
|
Loading…
Reference in New Issue
Block a user