Skip to content

Pretty print API responses #5

Description

@yazinsai

Instead of returning this:

{"error":{"type":"processing","code":"bad_request","message":"Bad Request","extras":{"time":"2018-03-14T08:18:23Z","request_id":"d60a4858-1757-4a78-ab18-5d81be7d39b5"}}}

It should return a more readable output like the below:

{
  "error": {
    "type": "processing",
    "code": "bad_request",
    "message": "Bad Request",
    "extras": {
      "time": "2018-03-14T08:18:23Z",
      "request_id": "d60a4858-1757-4a78-ab18-5d81be7d39b5"
    }
  }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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