You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Koala Lam (Jira)" <ji...@apache.org> on 2020/03/23 00:31:00 UTC
[jira] [Created] (IGNITE-12830) REST API - Return the right HTTP
status code
Koala Lam created IGNITE-12830:
----------------------------------
Summary: REST API - Return the right HTTP status code
Key: IGNITE-12830
URL: https://issues.apache.org/jira/browse/IGNITE-12830
Project: Ignite
Issue Type: Improvement
Affects Versions: 2.7.6
Reporter: Koala Lam
For example, when the cluster is not in running stage, receiving a REST request would still return a 200 HTTP status code with below response payload :
{
successStatus: 1,
sessionToken: null,
error: "Failed to handle request (received request while stopping grid).",
response: null
}
Should REST API return a non-2xx status code instead?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)