Commit 6cfe27e
committed
Fix json format parameter
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)
```1 parent fd4ad7a commit 6cfe27e
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
0 commit comments