I'm currently writing a node.js wrapper for the uk-postcodes.com API. I've been testing the /latlng route using valid but "inappropriate values" (e.g. 0,0)
I've been getting 500 response from the server. Was wondering if there's a more appropriate restful response?
Seeing as all /latlng requests redirect to a postcode, perhaps an "inappropriate" geolocation can redirect to a 404 error instead?
I'm currently writing a node.js wrapper for the uk-postcodes.com API. I've been testing the
/latlng
route using valid but "inappropriate values" (e.g. 0,0)I've been getting 500 response from the server. Was wondering if there's a more appropriate restful response?
Seeing as all
/latlng
requests redirect to a postcode, perhaps an "inappropriate" geolocation can redirect to a 404 error instead?