CodePudding user response:
Write a json file first to do front end can be simulated test of the json format data, using ajax to load into the page,In connection to the backend, as long as the json file address to the back-end file (jap or PHP) address, and the back-end file to return the same format of the json data,
CodePudding user response:
Ajax request the address of the data to your virtual address can, like lz said, if it is, you can do some processing images, Ajax 2 base flow out, hope to adopt