Communications.makeWebRequest always use GET method

Hi,

I'm a bit curious why is my codes always send the request using method GET even though method is set to Communications.HTTP_REQUEST_METHOD_POST

Here is my code below:

var params = {"somekey"=>"somevalue"};
 
var options = {
   :methods => Communications.HTTP_REQUEST_METHOD_POST,
   :headers => {"Content-Type" => Communications.REQUEST_CONTENT_TYPE_JSON},
   :responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_JSON
};
Communications.makeWebRequest(url, params, options, method(:onReceive));
Appreciate any feedback. Thanks