Closed kodeFant closed 2 years ago
I don't know anything about React Native, and very little about fetch
too, so hopefully someone else can chime in here who has ideas. :smile:
One option might be to avoid this library and use purescript-web-fetch directly or something like that.
Thanks for reply :) Closing the issue since I am solving the problems elsewhere.
Hi, I am currently using affjax in a React Native environment. More specifically with React.Basic.Native. I also installed
xhr2
to be sure. I know React Native primarily supports thefetch
api.Describe the bug Fetching from a simple enpoint work well, but all query parameters are ignored.
I first tried it like this with query string in URL
It seems to strip away the query parameters and only the query without any params are run.
Same thing actually happens when using a response body only.
The API supports both query params and body params and I have tested this on postman and can verify it works.
Expected behavior Query strings should be registered and not stripped away.
Additional context