Closed wavemechanics closed 2 years ago
API results are cryptic and misleading when there are no results. Sometimes a single line of "geography_code" is printed, which isn't helpful.
This change makes the API return 204 and an empty body when there are no results.
HTTP/1.1 204 No Content Access-Control-Allow-Origin: * Date: Fri, 17 Dec 2021 15:12:29 GMT
What
API results are cryptic and misleading when there are no results. Sometimes a single line of "geography_code" is printed, which isn't helpful.
This change makes the API return 204 and an empty body when there are no results.
HTTP/1.1 204 No Content Access-Control-Allow-Origin: * Date: Fri, 17 Dec 2021 15:12:29 GMT