diff --git a/ifm.php b/ifm.php
index 709c13b..2f84857 100644
--- a/ifm.php
+++ b/ifm.php
@@ -817,6 +817,8 @@ INTERFACE - SECTION
\
\
\
+
\
+ GETPOST
\
\
\
\
@@ -832,7 +834,7 @@ INTERFACE - SECTION
url : $("#ajaxurl").val(),
cache : false,
data : $('#ajaxdata').val().replace(/\n/g,"&"),
- type : "GET",
+ type : $('#ajaxrequest input[name=arMethod]:checked').val(),
success : function(response) { $("#ajaxresponse").text(response); },
error : function(e) { ifm.showMessage("Error: "+e, "e"); console.log(e); },
complete: function() { ifm.hideLoading(); }