1
0
mirror of https://github.com/actix/examples synced 2025-06-27 01:27:43 +02:00

fix broken links (#441)

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Altug Sahin <altugsahin@gmail.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Altug Sahin
2021-10-06 17:28:53 -04:00
committed by GitHub
parent cc948594fe
commit 8186a8cfea
35 changed files with 128 additions and 47 deletions

View File

@ -5,18 +5,17 @@
### server
```bash
cd examples/basics
cd basics/basics
cargo run
# Started http server: 127.0.0.1:8080
```
### web client
- [http://localhost:8080/](http://localhost:8080/static/index.html)
- [http://localhost:8080/async-body/bob](http://localhost:8080/async-body/bob)
- [http://localhost:8080/user/bob/](http://localhost:8080/user/bob/) text/plain download
- [http://localhost:8080/user/bob/](http://localhost:8080/user/bob) text/plain download
- [http://localhost:8080/test](http://localhost:8080/test) (return status switch GET or POST or other)
- [http://localhost:8080/favicon](http://localhost:8080/favicon)
- [http://localhost:8080/welcome](http://localhost:8080/static/welcome.html)
- [http://localhost:8080/notexit](http://localhost:8080/static/404.html) display 404 page
- [http://localhost:8080/error](http://localhost:8080/error) Panic after request
- [http://localhost:8080/error](http://localhost:8080/error) Panic after request