The objective of this tutorial is to take your knowledge of Ajax and apply it such that data from one API is sent to another API in an Ajax call.
本教程的目标是将您的 Ajax 知识付诸应用,即利用 Ajax 调用将来自一个 API 的数据发送给另一个 API 。
Again, you'll use the concept of passing an ajax flag to the server-side script to let it know whether it is being called by a regular GET request or by an ajax call.
同样,您将使用将一个ajax标记传递到服务器端脚本的概念,让它知道它正在被一个常规GET请求调用还是被一个ajax调用调用。
应用推荐