Skip to content

Commit

Permalink
Merge pull request #2 from augchan42/patch-1
Browse files Browse the repository at this point in the history
Fix ping command
  • Loading branch information
VitalyV1337 authored Aug 23, 2021
2 parents 5655c68 + 1c44e5a commit 7626164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/INSTALL_AND_RUN.md
Original file line number Diff line number Diff line change
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 7626164

Please sign in to comment.