1、发送get请求,格式如下:
2、get服务端代码举例
3、get客户端代码举例
4、发送post请求,格式如下:
5、post客户端代码举例
6、使用jQuery时要注意服务器端返回json数据时,json数据格式要正确。