From: Sebastian Steiner Date: Fri, 18 Jan 2019 14:47:13 +0000 (+0100) Subject: small changes in readme X-Git-Tag: code-freeze~13^2~9 X-Git-Url: https://git.somenet.org/pub/jan/aic18.git/commitdiff_plain/8d0572de579aac1f4847afebad09f244fafa9ba5?hp=dd861491d827049ec6d02d9c4a7effa30bdf2992 small changes in readme --- diff --git a/service-analysis/README.md b/service-analysis/README.md index 717af39..1572beb 100644 --- a/service-analysis/README.md +++ b/service-analysis/README.md @@ -50,8 +50,4 @@ The api key can be set in the file indico_api_key.txt. The current key does work - `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"}]'` - negative sentiment test example: `curl -v -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'` - -## health check -Under http://localhost:8081/health the service returns HTTP Status 200 if it is running OK. -### commands -curl -v -X GET http://localhost:8081/health +- health check test example: `curl -v -X GET http://localhost:8081/health`