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:
parent
888123742c
commit
463b76ef8a
18
background-jobs/README.md
Normal file
18
background-jobs/README.md
Normal 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)
|
Loading…
Reference in New Issue
Block a user