mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-15 20:50:24 +00:00
Add a simple multipart upload example
This commit is contained in:
parent
5d1d9af6cd
commit
07c622a0fe
9 changed files with 129 additions and 1 deletions
20
examples/upload/README.md
Normal file
20
examples/upload/README.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
Multipart upload example
|
||||
========================
|
||||
|
||||
To try this example, you need GNU `make` and `git` in your PATH.
|
||||
|
||||
To build the example, run the following command:
|
||||
|
||||
``` bash
|
||||
$ make
|
||||
```
|
||||
|
||||
To start the release in the foreground:
|
||||
|
||||
``` bash
|
||||
$ ./_rel/bin/upload_example console
|
||||
```
|
||||
|
||||
Then point your browser at [http://localhost:8080](http://localhost:8080).
|
||||
|
||||
The uploaded file will be displayed in the shell directly.
|
Loading…
Add table
Add a link
Reference in a new issue