mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +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)
|