{"status": "failure", "GRiD API": {"API Version": "v1"}, "error": "Please provide a valid WKT geometry."}
Better would be to return a 400 in this case. If that is not possible, at least update the API documents to indicate that invalid requests will return an Error Object. (The schema of this object is not documented in v1.)
Invalid requests nevertheless return a 200. For example:
returns a 200 with the following payload:
Better would be to return a 400 in this case. If that is not possible, at least update the API documents to indicate that invalid requests will return an Error Object. (The schema of this object is not documented in v1.)