javascript - Why does ajax return a piece of html instead of json?
世界只因有你
世界只因有你 2017-05-18 10:47:48
0
3
484


The status code is 304! The response returns all the code I wrote in index.html
Please help me take a look

世界只因有你
世界只因有你

reply all(3)
我想大声告诉你

It has nothing to do with ajax. Right-click on the highlighted area to open it and see what the problem is. It is probably that you wrote the wrong URL.
Looking at this address, it should be the Douban API. This address has appeared countless times on SF, and there are also related problems. There are many. It seems that the webpack agent is misconfigured

滿天的星座

Please confirm whether the request address is correct, such as http://api.douban.com/v2/movi...

The correct request should be like this

習慣沉默

There is a problem with the request, please DEBUG to take a look

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template