mirror of
https://github.com/actix/examples
synced 2024-11-24 06:43:00 +01:00
19 lines
347 B
Markdown
19 lines
347 B
Markdown
|
# background-jobs
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
### server
|
||
|
|
||
|
```sh
|
||
|
cd basics/background-jobs
|
||
|
cargo run
|
||
|
# starting HTTP server at http://localhost:8080
|
||
|
```
|
||
|
|
||
|
### Available Routes
|
||
|
|
||
|
- [GET /cache](http://localhost:8080/cache)
|
||
|
- [POST /cache](http://localhost:8080/cache)
|
||
|
- [POST /email](http://localhost:8080/email)
|
||
|
- [POST /email-spam](http://localhost:8080/email-spam)
|