You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
Is your feature request related to a problem? Please describe.
Sometimes, the response from an API we wish to use is some media type that can't easily be parsed into text, and I wish to receive it as a blob.
Describe the solution you'd like
Respond to format: binary in the response description and return a blob from useGet/useMutate
Describe alternatives you've considered
I can bypass restful-react processing by providing a type of */*, and I get back the raw Response object, thanks to #262, which is fine, although requires typescript hacking
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is your feature request related to a problem? Please describe.
Sometimes, the response from an API we wish to use is some media type that can't easily be parsed into text, and I wish to receive it as a blob.
Describe the solution you'd like
Respond to
format: binary
in the response description and return a blob from useGet/useMutateDescribe alternatives you've considered
I can bypass restful-react processing by providing a type of
*/*
, and I get back the rawResponse
object, thanks to #262, which is fine, although requires typescript hackingThe text was updated successfully, but these errors were encountered: