Skip to content

Commit 86f3c7c

Browse files
committed
curl command added
1 parent 213ef1f commit 86f3c7c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ Support multiple data-sources.
2222
## API Reference
2323

2424
All endpoints are located at ``coronavirus-tracker-api.herokuapp.com/v2/`` and are accessible via https. For instance: you can get data per location by using this URL:
25-
*(https://coronavirus-tracker-api.herokuapp.com/v2/locations)[https://coronavirus-tracker-api.herokuapp.com/v2/locations]*
25+
*[https://coronavirus-tracker-api.herokuapp.com/v2/locations](https://coronavirus-tracker-api.herokuapp.com/v2/locations)*
2626

27-
You can try to open the URL in your browser to further inspect the response.
27+
You can try to open the URL in your browser to further inspect the response. Or you can make this curl call on your terminal to see the prettified response:
28+
29+
```
30+
curl https://coronavirus-tracker-api.herokuapp.com/v2/locations | json_pp
31+
```
2832

2933

3034
#### Available data-sources:

0 commit comments

Comments
 (0)