使用curl和wget发送post请求

1.wgetphp wget --post-data="user=user1&pass=pass1&submit=Login"  http://domain.com/path/page_need_login.php   2.curl (可直接发送格式化请求例如json) 提交json数据须要加header,不然需'json={"phone":"13521389587","password":"
相关文章
相关标签/搜索