fix: country query param API call

This commit is contained in:
Cristian Ditaputratama 2024-06-11 17:10:26 +07:00
parent c1f269c2a6
commit 91c748b63e
Signed by: ditatompel
GPG key ID: 31D3D06D77950979

View file

@ -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**:
```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
@ -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:
```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