NetworkError: Failed to execute 'send' on 'XMLHttpRequest'

前端 未结 4 2214
我寻月下人不归
我寻月下人不归 2021-01-01 18:45

I\'m trying to do a POST ajax request to a server hosted locally on my laptop but I can\'t seem to get any information back. When I click a button on my site (localhost), I

4条回答
  •  清歌不尽
    2021-01-01 19:12

    You can test your webpages with Chrome on Windows like this

    chrome.exe --allow-file-access-from-files
    

提交回复
热议问题