From 2b1ee052a96ee791f1d19d9a72aa1ce034ae72ce Mon Sep 17 00:00:00 2001 From: Sebastian Steiner Date: Tue, 11 Dec 2018 17:07:17 +0100 Subject: [PATCH] Update README.md --- service-analysis/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service-analysis/README.md b/service-analysis/README.md index da77a93..243c485 100644 --- a/service-analysis/README.md +++ b/service-analysis/README.md @@ -43,6 +43,6 @@ JSON string may contain more value-key pairs than 'text', but 'text' is needed f ### commands - `python3.7 sentiment_analysis.py` - positive sentiment test example: - -> `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'` + -> `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'` - negative sentiment test example: - -> `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'` + -> `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'` -- 2.43.0