美文网首页
ajax body json

ajax body json

作者: jeneen1129 | 来源:发表于2020-08-11 22:38 被阅读0次
    $.ajax(
                    {
                        url: '',
                        'data': JSON.stringify({
                      
                        }),
                        'type': 'POST',
                        'processData': false,
                        'contentType': 'application/json', //typically 'application/x-www-form-urlencoded', but the service you are calling may expect 'text/json'... check with the service to see what they expect as content-type in the HTTP header.
                        success: function (msg) {
                            
                        }
                    }
                );
    

    相关文章

      网友评论

          本文标题:ajax body json

          本文链接:https://www.haomeiwen.com/subject/kmxwrktx.html