Skip to content

Make error response codes in JSON format #76

@scholvat

Description

@scholvat

The client's HTTP request accepts application/json, so the server should respond with a json, even in an error case. Currently error cases return simple strings such as "Forbidden". Based on the HTTP request, we should return a json or else the client will throw an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions