我的ajax调用总是发送get请求而不是post.为什么?

Rah*_*hul 0 ajax jquery node.js

$.ajax({
        type:"post",
        url: server_url,
        dataType: "jsonp",
        jsonpCallback: callback,
        data:req_json,
        cache: false,
        timeout: 60000,
        success: succeeded,
        error: got_error
    });
Run Code Online (Sandbox Code Playgroud)

我正在尝试上面的代码来发送POST requset但是在服务器端总是只接收GET请求,任何人都可以告诉我为什么会发生这种情况?在此先感谢.. server_url就像http://ip:8007

Die*_*erg 7

使用dataType"jsonp"时无法"发布".因为它创建了一个<script>获取数据的元素,所以它必须是一个get请求.