Open jhusain opened 9 years ago
You must mean 500 correct?
Doh! of course, 400.
400 Bad Request seems appropriate for an invalid JSON path.
On Jun 15, 2015, at 3:11 PM, Michael Paulson notifications@github.com wrote:
You must mean 500 correct?
— Reply to this email directly or view it on GitHub https://github.com/Netflix/falcor-express/issues/16#issuecomment-112224461.
Yeah it was intentional.
JH
On Jun 15, 2015, at 3:19 PM, mac-a1 notifications@github.com wrote:
400 Bad Request seems appropriate for an invalid JSON path.
On Jun 15, 2015, at 3:11 PM, Michael Paulson notifications@github.com wrote:
You must mean 500 correct?
— Reply to this email directly or view it on GitHub https://github.com/Netflix/falcor-express/issues/16#issuecomment-112224461.
— Reply to this email directly or view it on GitHub.
If any query string args are invalid, for example invalid JSON in path, we need to catch these errors and send back HTTP 400.