This commit is contained in:
Tom Andrade 2019-04-26 18:23:30 +02:00
parent 8ac8613ab4
commit dc9472b5fd
Signed by: wolvie
GPG Key ID: 31AAB07872E82669

View File

@ -60,7 +60,7 @@ $ curl http://localhost:8080/v1/dumpToFile
Dump writen to: urls.json
```
Load url mappings from `-dimp` file to in memory db
Load url mappings from `-dump` file to in memory db
```shell
$ curl http://localhost:8080/v1/fromFile
@ -70,7 +70,7 @@ OK
Load url mappings from POST data (Assuming json data on save.json file)
```shell
$ curl -X POST http://localhost:8080/v1/fromPost \  ✔  0.59 L
$ curl -X POST http://localhost:8080/v1/fromPost \
-H "Content-Type: application/json" \
--data $(cat save.json )
OK