How to control firefox to open a URL with sending a POST request?

南笙酒味 提交于 2020-01-07 03:40:06

问题


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.

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


回答1:


Check this :

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

curl allow you to do requests on anywebsite.



来源:https://stackoverflow.com/questions/17722685/how-to-control-firefox-to-open-a-url-with-sending-a-post-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!