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
Just simple tried PATCH original fetch with json-server it works fine.
I'm have react-native-fetch-blob in my app and it polyfills xor, blob and fetch, so this might be what's causing it.
I don't think it related here, have you tried it with http://localhost:8081/debugger-ui? I think there should be some reason causing the problem for the module in Debug JS remotely mode.
I can reproduce the react-native-fetch-blob problem, but it still ignore body with PATCH request if I leave Debug JS remotely mode, it just called the native method, so I'm sure it not related here. :\
** Please provide the following information if you found some bugs or have question:
React Native version: 41.3
Platform: iOS
Is real device of platform: No
Operating System: macOS
React Native Debugger: 0.6.2
When using react-native-debugger, all PATCH requests which have a body, just drop it and the server receives an empty body:
fetch('http://myServer.com/test', {method: 'PATCH', body: {test: 1234}});
when I use POST, it's working fine.
I'm have react-native-fetch-blob in my app and it polyfills xor, blob and fetch, so this might be what's causing it.
The text was updated successfully, but these errors were encountered: