From 073740b98bd8c22243187e12a5047bc5239b52e2 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 7 Apr 2022 16:04:48 +0200 Subject: [PATCH] Update curl example for v2 changes Signed-off-by: vinceh121 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 035a12a..a78afc7 100644 --- a/README.md +++ b/README.md @@ -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