From d68b15897a5f0c809a20c8f0855d58ea8841a722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yves=20M=C3=BCller?= Date: Mon, 26 Sep 2016 10:05:28 +0200 Subject: [PATCH] Update text example in README with runnable code --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d26ab36..ef97713 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,11 @@ This manual is tested under Ubuntu 14.04! ``` * Send a POST request to "localhost:5000/extraction" with a body containing JSON. For example: - + ```shell - { "text" : "The paaring season is normally between May to August."} +curl -XPOST -d '{ "text" : "The paaring season is normally between May to August."}' -H 'Content-Type: application/json' localhost:5000/extraction ``` + Result: ```shell