Edge on Windows 10 32-Bit blocking ajax call to localhost with Network Error 0x2efd

后端 未结 5 1601
耶瑟儿~
耶瑟儿~ 2021-02-07 11:31

We have an app that uses SignalR to talk to scanner drivers locally that has been in production for a couple of years working on IE, Chrome and Firefox, which do not have a prob

5条回答
  •  一生所求
    2021-02-07 12:36

    you can try this.

        $.ajax({
            url:url,
            type:"POST",
            data:data,
            contentType:"application/json; charset=utf-8",
            dataType:"json",
            success: function(){
            //
            }
        });
    

    and make sure to properly provide the parameters, content-type, data-type, responseCode..etc

提交回复
热议问题