Bug description:
I have a application with a webview, this webview have a post request, the webview works in android and get the page, but when i try in IOs does not work.
You can visualize the token in console, and the uri
the exception occurs in postman when the token is invalid, but it is not invalid because it works in postman and android.
The page not is mine
Expected behavior:
Show the page in IOs same to android.

The code
```
nativeConfig={{props: {webContentsDebugginEnabled: true}}}
source={{uri: navigation.getParam('uri'), method: 'POST', body: `token=${navigation.getParam('token')}`}}
injectedJavaScript={injectedJavascript}
onMessage={() => this.props.navigation.navigate('Main')}
startInLoadingState={true}
>
</WebView>
i solve this error with
I've faced that bug too. Here is a workaround that worked for me :
headers: { 'Content-Type': 'application/x-www-form-urlencoded', }
Hello 馃憢, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like _still searching for solutions_ and if you found one, please open a pull request! You have 7 days until this gets closed automatically
i solve this error with
I've faced that bug too. Here is a workaround that worked for me :
headers: { 'Content-Type': 'application/x-www-form-urlencoded', }
Does Android automatically send this header? Anyone know what the difference is that would explain what's going on here?
EDIT: It looks like the WebView in Android is always expecting postData to be "application/x-www-form-urlencoded" encoded, which is why this works in android but not iOS:
https://developer.android.com/reference/android/webkit/WebView#postUrl(java.lang.String,%20byte%5B%5D)
Most helpful comment
i solve this error with