例1:用linux下的curl命令发送POST请求给Apache服务器上的HTML静态页
代码如下:[root@localhost ~]# curl -d 11=1 //www.jb51.net/index.html <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”> <HTML> <HEAD> <TITLE>405 Method Not Allowed</TITLE> </HEAD> <BODY> <H1>Method Not Allowed</H1>