mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +01:00
26 lines
407 B
Markdown
26 lines
407 B
Markdown
# multipart
|
|
|
|
Multipart's `Getting Started` guide for Actix web
|
|
|
|
## Usage
|
|
|
|
### server
|
|
|
|
```bash
|
|
cd examples/multipart
|
|
cargo run (or ``cargo watch -x run``)
|
|
# Started http server: 127.0.0.1:8080
|
|
```
|
|
|
|
### browser
|
|
|
|
- go to ``http://localhost:8080``
|
|
- upload file
|
|
- you should see the action reflected in server console
|
|
|
|
### client (optional)
|
|
|
|
- ``./client.sh``
|
|
- you must see in server console multipart fields
|
|
|