Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,13 @@ All endpoints are JSON.
- **GET /version** - Returns the server version number
- **GET /metrics** - Returns Prometheus-compatible metrics

##### Example using the API Endpoints

```bash
$ curl -X POST -H "Content-Type: application/json" -d '{"enabled": false}' localhost:26913/proxies/shopify_development_memcached
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not clear why localhost:26913? Would it better to use default port?

{"name":"shopify_development_memcached","listen":"127.0.0.1:20915","upstream":"localhost:62070","enabled":false,"toxics":[]}%
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the last character %, I think it is PROMT from shell.

```

#### Populating Proxies

Proxies can be added and configured in bulk using the `/populate` endpoint. This is done by
Expand Down