mirror of
https://github.com/ditatompel/insights.git
synced 2025-01-08 03:12:06 +07:00
fix: country
query param API call
This commit is contained in:
parent
c1f269c2a6
commit
91c748b63e
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ Optional query string parameters:
|
||||||
For example, if you want to **list CORS enabled Monero nodes using https from United States sorted from recently checked node**:
|
For example, if you want to **list CORS enabled Monero nodes using https from United States sorted from recently checked node**:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -sL 'https://xmr.ditatompel.com/api/v1/nodes?cors=1&protocol=https&country=us&sort_by=last_checked&sort_direction=desc' | jq
|
curl -sL 'https://xmr.ditatompel.com/api/v1/nodes?cors=1&protocol=https&cc=us&sort_by=last_checked&sort_direction=desc' | jq
|
||||||
```
|
```
|
||||||
|
|
||||||
## Response Header
|
## Response Header
|
||||||
|
@ -79,7 +79,7 @@ The response header includes the **HTTP status code** and the `content-type`. Cl
|
||||||
The response body includes the information of the query result, query status, and response message. In the example below, the response body of:
|
The response body includes the information of the query result, query status, and response message. In the example below, the response body of:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
curl -sL 'https://xmr.ditatompel.com/api/v1/nodes?country=SG' | jq
|
curl -sL 'https://xmr.ditatompel.com/api/v1/nodes?cc=SG' | jq
|
||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in a new issue