mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-24 07:53:00 +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``
|