yet-another-pomf-clone/README.md

30 lines
427 B
Markdown
Raw Normal View History

2021-04-09 21:34:44 +00:00
# yet-another-pomf-clone
## how build
get [zigmod](https://github.com/nektro/zigmod).
```
git clone ...
cd yet-another-pomf-clone
zigmod fetch
zig build
./zig-cache/bin/yet-another-pomf-clone
```
2021-04-09 21:39:00 +00:00
happy webscale
### todo
- multipart parsing (this is going to be fun)
- env vars for configuration
- handle 404 on fetch
2021-04-09 21:34:44 +00:00
## how use
do the thing
2021-04-09 21:39:00 +00:00
```
curl -F "test=@/path/to/file/lol" 'http://localhost:8080/api/upload'
```