Closed hrecht closed 7 years ago
Follow up to: https://github.com/hrecht/censusapi/issues/4 Some error messages (ie invalid API key) are sent as HTML rather than JSON. Parse these messages for better console printing.
Addressed in https://github.com/hrecht/censusapi/commit/b04ffcc7449ba217abef4363178ed1c51839cf7b, test more extensively before closing.
No bugs reported, closing as solved.
Follow up to: https://github.com/hrecht/censusapi/issues/4 Some error messages (ie invalid API key) are sent as HTML rather than JSON. Parse these messages for better console printing.