mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
25 lines
383 B
Markdown
25 lines
383 B
Markdown
# multipart
|
|
|
|
Multipart's `Getting Started` guide for Actix web
|
|
|
|
## Usage
|
|
|
|
### server
|
|
|
|
```bash
|
|
cd actix-web/examples/multipart
|
|
cargo run (or ``cargo watch -x run``)
|
|
# Started http server: 127.0.0.1:8080
|
|
```
|
|
|
|
### client
|
|
|
|
- ``pip install aiohttp``
|
|
- ``python client.py``
|
|
- you must see in server console multipart fields
|
|
|
|
if ubuntu :
|
|
|
|
- ``pip3 install aiohttp``
|
|
- ``python3 client.py``
|