Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

iOS PATCH method removes body #306

Closed
atlanteh opened this issue Mar 31, 2017 · 4 comments
Closed

iOS PATCH method removes body #306

atlanteh opened this issue Mar 31, 2017 · 4 comments

Comments

@atlanteh
Copy link
Contributor

I'm using fetch-blob "fetch" polyfill.
When executing the following code in iOS, my server receives empty req.body:

fetch('http://myServer.com/test', {method: 'PATCH', body: {test: 1234}});

when I use POST, it's working fine.

versions
react-native: 0.42.3
react-native-fetch-blob: 0.10.4

@atlanteh
Copy link
Contributor Author

atlanteh commented Apr 2, 2017

false alarm. it was react-native-debugger.

@atlanteh atlanteh closed this as completed Apr 2, 2017
@jhen0409
Copy link

jhen0409 commented Apr 2, 2017

jhen0409/react-native-debugger#60 I confirmed it not related to debug mode, should reopen this?

@atlanteh
Copy link
Contributor Author

atlanteh commented Apr 2, 2017

I'm opening. Thx!

@wkh237
Copy link
Owner

wkh237 commented Apr 5, 2017

The PR already merged 👍 you can now install the package from branch issue-306.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants