Open HCLarsen opened 4 years ago
Hi @HCLarsen,
Sorry for the delay in response and thank you for pointing it out. It was an oversight on my end.
Let me fix it up and push it to prod ASAP
@HCLarsen It's been fixed. Thank you for reporting the bug. Feel free to point out any other issues that you come across.
That's great, but an API response shouldn't include HTML, it should return JSON.
When sending a non-existent country code, for example:
https://covidapi.info/api/v1/country/CAI
The proper response should include a 404 status code, but instead, it gives a 200.