New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for blobs #2
Comments
Any update on this ? |
Any update on this ? or other alternative ? other library ? |
Any solution for this??? :( 2020-05-06 13:13:16.735 [fatal][tid:com.facebook.react.RNSslPinningQueue] Exception '-[NSNull dataUsingEncoding:]: unrecognized selector sent to instance 0x7fff80615710' was thrown while invoking fetch on target RNSslPinning with params ( .... |
@canhtran10 can you show me an example of a request ? so i can check it/ |
HI @MaxToyberman thanks for your support:
The Code:
|
@canhtran10 how is it related to Blobs ? |
@MaxToyberman, ah sorry :), I don't know this problem related to the Blobs or not, but the error message was the same. |
@canhtran10 remove the body: null, in GET you shouldn't add body |
@ma-pe @ajaysaini-sgvu @brunnorech can you provide some example ? how do you expect to receive the data in your backend ? |
Hi, I've also this problem you can find below what I'm expecting from my back end :
|
Passing any type other than string in body causing me this error. Any solution? |
Facing the same issue. Anyone managed to solve it? |
@WassimHakim try JSON.stringify(body) |
Any update on this ?
Require to get blob response, From server side return file(PDF, Image, etc.) object in api response. |
Thanks for open sourcing your library! :)
Blob-support for react-native's fetch was introduced in 0.54:
facebook/react-native#11417
facebook/react-native#11573
Blobs doesn't seem to work with your library though:
Leads to:
I need ssl pinning for all my request but haven't found a library featuring blob PUTs.
Any thoughts on how to support this?
The text was updated successfully, but these errors were encountered: