Update curl example for v2 changes

Signed-off-by: vinceh121 <contact@vinceh121.me>
This commit is contained in:
Vincent 2022-04-07 16:04:48 +02:00 committed by vinceh121
parent c7726edc1c
commit 073740b98b
No known key found for this signature in database
GPG Key ID: 69B0B7194860F4D1
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ Open [localhost:8888/demo/index.html](http://localhost:8888/demo/index.html) in
Alternatively, on the command line, try:
```
> $ curl -d '{"media":"image/png","level":"easy","input_type":"text"}' localhost:8888/v1/captcha
> $ curl -d '{"media":"image/png","level":"easy","input_type":"text","size":"350x100"}' localhost:8888/v2/captcha
{"id":"3bf928ce-a1e7-4616-b34f-8252d777855d"}
> $ curl "localhost:8888/v1/media?id=3bf928ce-a1e7-4616-b34f-8252d777855d" -o sample.png