Update README.md
authorSebastian Steiner <e1029038@student.tuwien.ac.at>
Tue, 11 Dec 2018 16:07:17 +0000 (17:07 +0100)
committerSebastian Steiner <e1029038@student.tuwien.ac.at>
Tue, 11 Dec 2018 16:07:17 +0000 (17:07 +0100)
service-analysis/README.md

index da77a93ec56a9834c8fcf2b27aa790d06601aa0a..243c4857d06ff956a806c4c33be24695a3e3cbd2 100644 (file)
@@ -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"}]'`