Open bjoel opened 7 years ago
Apologies for the late reply. This commit changes the error responses within the broker endpoints to return JSON values. Currently we have a service hitting these endpoints and when something goes wrong (i.e attempting to remove a broker which is currently running) HTML is returned. It is more helpful to return JSON so that our service can interpret the response and react appropriately.
Cool, seems good to me. Have you tested the backwards-compat case with an old client -> new server (and vis versa)?
Can you comment on what this is trying to fix/improve?