1
0
mirror of https://github.com/actix/examples synced 2024-11-27 16:02:57 +01:00

doc: add README.md into background-jobs (#616)

This commit is contained in:
liuliu 2023-04-01 02:33:13 +08:00 committed by GitHub
parent 888123742c
commit 463b76ef8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

18
background-jobs/README.md Normal file
View File

@ -0,0 +1,18 @@
# 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)