Skip to content

Check for consistency of server responses #19

@KumbuT

Description

@KumbuT

Server responses are not consistent. The designed response was to have the format:
{
"success": true,
"message":
}

However this doesn't work well if we're sending data over "message" JSON attribute because the caller has to check whether they got a JSON object or a String in the message.

I propose that we change the format to:
{
"success": true,
"message": ,
"data":

}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions