This commit is contained in:
Thibault Malbranche
2018-10-13 00:40:20 +02:00
parent d3747b6623
commit 0e34982477
3 changed files with 10 additions and 11 deletions
@@ -518,7 +518,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
}
if (source.hasKey("method")) {
String method = source.getString("method");
if (method.equals(HTTP_METHOD_POST)) {
if (method.equalsIgnoreCase(HTTP_METHOD_POST)) {
byte[] postData = null;
if (source.hasKey("body")) {
String body = source.getString("body");