-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Milestone
Description
Current state:
When a site is not found, users receive a 404 and an HTML response regardless of format requested.
Test case:
https://geocoder.api.gov.bc.ca/sites/nearest.json?point=-122.861715%2C49.825979&maxDistance=10
Proposed future state:
When a site not found response is given for a ‘near’ or ‘nearest’ request, a ‘No site found’ response is given in the same format as the request (json, geojson etc) with HTTP 200 status code. In some cases, such as SHP format a different approach may be required.