Skip to content

Unmarshal request body fail should not panic #6

@tnclong

Description

@tnclong
Content-Type: application/json

{
	"codes": ["5S63204"
}
POST /api/ja/proto.ProductService/GetProducts -> 500 Internal Server Error (panic: invalid character '}' after array element)

Maybe 422 is more better?

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