1
0
mirror of https://github.com/actix/examples synced 2025-06-28 18:00:37 +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

@ -1,5 +1,11 @@
# cookie-auth
```sh
cd session/cookie-auth
cargo run
# Starting http server: 127.0.0.1:8080
```
Testing with cookie auth with [curl](https://curl.haxx.se).
Login:

View File

@ -1,7 +1,7 @@
## Cookie session example
```sh
cd cookie-session
cd session/cookie-session
cargo run
# Starting http server: 127.0.0.1:8080
```

View File

@ -0,0 +1,14 @@
# redis-session
```sh
cd session/redis-sessions
cargo run
# Starting http server: 127.0.0.1:8080
```
## Available Routes
- [GET /](http://localhost:8080/)
- [POST /do_something](http://localhost:8080/do_something)
- [POST /login](http://localhost:8080/login)
- [POST /logout](http://localhost:8080/logout)