Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
wadhekarp committed Jul 14, 2024
1 parent 88657ce commit 8ec4fc9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ec4fc9

Please sign in to comment.