Skip to content

Resty not binding for a non 200 response #3

@rushmorem

Description

@rushmorem

Hi,

Thanks for the awesome library!

I have a struct that I'm filling with a JSON response from an API endpoint using SetResult. When the endpoint returns a 200 (success status), this struct is filled in just fine. However, when it returns say a 4XX or 5XX error message this struct is empty even though the response body itself has proper JSON.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions