如何在python中使用post方法?
我想执行此代码正在生成的查询.我知道如何打开IE并进入页面.但是有没有办法直接进入这个表单的结果页面?
选择 | 换行 | 行号
- <form name="test1" method="post"
- action="http://ExternalSQLQuery.asp">
- <input type=hidden name="database" value="bugs">
- <input type=hidden name="sql" value="
- select RecNo,Descrptn,CfgItem from (
- select RecNo,Disp,Descrptn,Status,CfgItem from Issue
- left join (
- Select ISSUE,CfgItem from RepCfg,TRLNK002 where RepCfg.FormID = TRLNK002.REPCFG
- ) as A on Issue.FormID = A.ISSUE
- ) as B
- where Descrptn like '%class%' or CfgItem like '%network%'
- order by RecNo
- ">
- <input type=submit name="Run query">
- </form>