I am trying to send the data via ajax POST method my code is
$.ajax({
            url: myUrl + "?token=" + accessToken + "&key=" +dev_key,
            dataType: 'jsonp',
            type: 'POST',
            data: sendXML,
            success: function () {
            alert("z");
            }
        });
But the type: 'POST' is not working I am getting the following error on console:
Status Code:405 HTTP method GET is not supported by this URL
 
    