From 8d0572de579aac1f4847afebad09f244fafa9ba5 Mon Sep 17 00:00:00 2001 From: Sebastian Steiner Date: Fri, 18 Jan 2019 15:47:13 +0100 Subject: [PATCH] small changes in readme --- service-analysis/README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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` -- 2.43.0