Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adamyordan/dumper

Dump everything given to it
https://github.com/adamyordan/dumper

Last synced: 6 days ago
JSON representation

Dump everything given to it

Awesome Lists containing this project

README

        

Initialize
---

```
docker run -p 5000:5000 -e password=super_secret -v "$(pwd)/data:/app/data" adamyordan/dumper
```

Usage
---

- Dump data at `/dump/`
```
$ curl http://localhost:5000/dump?e=
or
$ curl -X POST --data "" http://localhost:5000/dump/
```
- View list of dumped data at `dump/result/`
```
$ curl --user admin:super_secret http://localhost:5000/dump/result/
2018-09-28-070726.vj73.txt


$ curl --user admin:super_secret http://localhost:5000/dump/result/2018-09-28-070726.vj73.txt

```