From c7eb60e670040c24e7f2ba36eb5f777cee4c91ba Mon Sep 17 00:00:00 2001 From: Sefa Ilkimen Date: Mon, 27 Jan 2020 02:10:32 +0100 Subject: [PATCH] implement feat #155 for android --- src/android/com/silkimen/cordovahttp/CordovaHttpPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/android/com/silkimen/cordovahttp/CordovaHttpPlugin.java b/src/android/com/silkimen/cordovahttp/CordovaHttpPlugin.java index 253de3b..297dba3 100644 --- a/src/android/com/silkimen/cordovahttp/CordovaHttpPlugin.java +++ b/src/android/com/silkimen/cordovahttp/CordovaHttpPlugin.java @@ -57,6 +57,8 @@ public class CordovaHttpPlugin extends CordovaPlugin { return this.executeHttpRequestWithoutData(action, args, callbackContext); } else if ("delete".equals(action)) { return this.executeHttpRequestWithoutData(action, args, callbackContext); + } else if ("options".equals(action)) { + return this.executeHttpRequestWithoutData(action, args, callbackContext); } else if ("post".equals(action)) { return this.executeHttpRequestWithData(action, args, callbackContext); } else if ("put".equals(action)) {