如何通过发送POST请求来控制firefox打开URL? [英] How to control firefox to open a URL with sending a POST request?

查看:185
本文介绍了如何通过发送POST请求来控制firefox打开URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的问题。我有一个IP为192.168.80.180的站点。我想用firefox打开它。同时向POST发送POST请求。所以我不需要在网页中输入用户名和密码,当firefox启动时,它将直接登录到网站。我的平台是Linux。请给我一些想法。

Here is my question. I have a site whose IP is 192.168.80.180. I want to use firefox to open it. and at the same time sending it a POST request to login. So I don't need to input the username and password in the web page and when firefox is startup it will directly login to the website. My platform is Linux. Please give me some ideas.

更新:
具体来说,如何与firefox通信,并让它加载某个动态页面的URL。

Update: Concretely, how to communicate with firefox ,and let it load a certain URL which is a dynamic page.

推荐答案

选中此项:

http://linux.about.com/od/commands/l/blcmdl1_curl.htm

curl允许你在任何网站上做请求。

curl allow you to do requests on anywebsite.

这篇关于如何通过发送POST请求来控制firefox打开URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆