GET /api/foo/
=> {"status":"error","error":"Uknown method 'foo'."}
... which is all well and good (I've put in a PR for the typo). But the response code in this case is 200, which implies some sort of success; a 4xx error (probably 404) would surely be more appropriate?
... which is all well and good (I've put in a PR for the typo). But the response code in this case is 200, which implies some sort of success; a 4xx error (probably 404) would surely be more appropriate?