Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
vvoluom committed Aug 18, 2020
2 parents 32d368f + b6720db commit 25918a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/INSTALL_AND_RUN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ In order for the API to be able to run correctly, Prometheus metrics should be e
```
metrics:
mode: pull
addr: 0.0.0.0:9090
address: 0.0.0.0:9090
```

Change `:9090` to the port you want prometheus to be exposed at.
Expand Down Expand Up @@ -185,7 +185,7 @@ Example: with `8686`:`5367`, the API URL must look like `http://1.2.3.4:8686`, b

If you wish to make sure that the API is running, the following should return `{"result":"pong"}`:
```bash
curl -X GET http://localhost:8686/api/pingapi
curl -X GET http://localhost:8686/api/ping
```

If you wish to check the API's connection to a node, you can run the following for some node `<NODE>`:
Expand All @@ -201,4 +201,4 @@ Using curl with multiple queries requires the entire url to be inside double quo
curl -X GET "http://localhost:8686/api/registry/nodes?name=<NODE>&height=300"
```
---
[Back to API front page](../README.md)
[Back to API front page](../README.md)

0 comments on commit 25918a0

Please sign in to comment.