mirror of
https://github.com/actix/examples
synced 2024-11-28 00:12:57 +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``
|