From 8ec4fc9a5acab00056b8fb7d27f099d29d4ee9a7 Mon Sep 17 00:00:00 2001 From: wadhekarp Date: Sun, 14 Jul 2024 10:31:48 +0300 Subject: [PATCH] fix: readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fd656ef..8f1cfe3 100644 --- a/README.md +++ b/README.md @@ -42,25 +42,25 @@ Start the container /start - Initiates the call to CallMe service ```bash - curl -X 'POST' 'http://{example_service_url}:8000/start' -H 'Content-Type: application/json' -d '{"url": "http://example_service_url:8000/hello"}' + curl -X 'POST' 'http://localhost:8000/start' -H 'Content-Type: application/json' -d '{"url": "http://example_service_url:8000/hello"}' ``` /hello - Captures the message from CallMe service ```bash - curl -X 'POST' 'http://{example_service_url}:8000/hello' -H 'Content-Type: application/json' -d '{"hello": "some text"}' + curl -X 'POST' 'http://localhost:8000/hello' -H 'Content-Type: application/json' -d '{"hello": "some text"}' ``` /callback_data - Retrieve the message sent by Call Me service ```bash - curl -X 'GET' 'http://{example_service_url}:8000/callback_data' -H 'accept: application/json' + curl -X 'GET' 'http://localhost:8000/callback_data' -H 'accept: application/json' ``` /health - Health Status of API ```bash - curl -X 'GET' 'http://{example_service_url}:8000/health' -H 'Content-Type: application/json' + curl -X 'GET' 'http://localhost:8000/health' -H 'Content-Type: application/json' ``` ## CI/CD Flow