typos
This commit is contained in:
parent
8ac8613ab4
commit
dc9472b5fd
@ -60,7 +60,7 @@ $ curl http://localhost:8080/v1/dumpToFile
|
|||||||
Dump writen to: urls.json
|
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
|
```shell
|
||||||
$ curl http://localhost:8080/v1/fromFile
|
$ curl http://localhost:8080/v1/fromFile
|
||||||
@ -70,7 +70,7 @@ OK
|
|||||||
Load url mappings from POST data (Assuming json data on save.json file)
|
Load url mappings from POST data (Assuming json data on save.json file)
|
||||||
|
|
||||||
```shell
|
```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" \
|
-H "Content-Type: application/json" \
|
||||||
--data $(cat save.json )
|
--data $(cat save.json )
|
||||||
OK
|
OK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user