This is expected(Santa Cruz is my default location). However, if I wanted JSON output for a different location, like curl localhost:8000?json,loc=nyc, we get an Internal Server Error. It would be ideal to add functionality so we can choose the location of the JSON output
When running
curl localhost:8000?json
, we get:This is expected(Santa Cruz is my default location). However, if I wanted JSON output for a different location, like
curl localhost:8000?json,loc=nyc
, we get an Internal Server Error. It would be ideal to add functionality so we can choose the location of the JSON output