sagarkarira / coronavirus-tracker-cli

Track conronavirus cases from command line. curl https://corona-stats.online/
https://corona-stats.online/
944 stars 81 forks source link

Fix json format parameter #96

Closed pzygielo closed 4 years ago

pzygielo commented 4 years ago

Current doc:

$ curl -i https://corona-stats.online?json=true
HTTP/2 200 
content-type: text/html; charset=utf-8
...

(HTML follows)

with format parameter:

$ curl -i https://corona-stats.online?format=json
HTTP/2 200 
content-type: application/json; charset=utf-8
...

(JSON follows)
vercel[bot] commented 4 years ago

This pull request is being automatically deployed with ZEIT Now (learn more). To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/sagark/coronavirus-tracker/dpmd0y4iw ✅ Preview: https://coronavirus-tracker-git-fork-pzygielo-json.sagark.now.sh

sagarkarira commented 4 years ago

👍