发送get请求和post请求
在浏览器中随便输入一个网页地址就默认发送了GET请求
HTMLform中可以指定get还是post
<form action="1.php" method="post"> 请输入文字:<input type="text" name="word" value="" /> <input type="submit" value="提交" /> </form>
发送HTTP请求:http://www.atool.org/httptest.php
在浏览器中随便输入一个网页地址就默认发送了GET请求
HTMLform中可以指定get还是post
<form action="1.php" method="post"> 请输入文字:<input type="text" name="word" value="" /> <input type="submit" value="提交" /> </form>
发送HTTP请求:http://www.atool.org/httptest.php