+ -
当前位置:首页 → 问答吧 → 十万火急的问题。。。。。关于python或者perl解决http请求

十万火急的问题。。。。。关于python或者perl解决http请求

时间:2011-07-27

来源:互联网

post url是:
http://16.157.53.22:8080/HPCC/rest/monitoring/alert.APPLICATION_XML?instancekey=a

由于发送post之后需要进入login页面进行登录才可以成功发送,login页面表单:

<form action="j_spring_security_check">
<label for="j_username">Username</label>
<input type="text" name="j_username" id="j_username" />
<br/>
<label for="j_password">Password</label>
<input type="password" name="j_password" id="j_password"/>
<br/>
<input type='checkbox' name='_spring_security_remember_me'/> Remember me on this computer.
<br/>
<input type="submit" value="Login"/>
</form>

今天刚接触python。。。求大侠帮助

作者: lansiluo12   发布时间: 2011-07-27

http://topic.csdn.net/u/20110727/15/5277http://topic.csdn.net/u/20110727/15/5277533f-f6b7-408f-8cb7-d74eeb8613a9.html533f-f6b7-408f-8cb7-d74eeb8613a9.html

作者: Waistcoat22   发布时间: 2011-07-27