Skip to content

how to mock http 500 response object? #85

@htzhang2

Description

@htzhang2

POST.mock:

HTTP/2 500
content-type: application/json;charset=UTF-8
access-control-allow-origin: *
Access-Control-Allow-Headers: authorization, content-type

{"code":"internal_error","message":"general error"}

// Expect response: {"code":"internal_error","message":"general error"}
// Actual response: undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions