开发者

HTTP request builders for GNU/Linux?

开发者 https://www.devze.com 2022-12-10 03:28 出处:网络
I’m looking for tools for interactively inspecting HTTP servers by manually constructing requests (and viewing responses), under GNU/Linux. Something that woul开发者_开发百科d let me quickly specify

I’m looking for tools for interactively inspecting HTTP servers by manually constructing requests (and viewing responses), under GNU/Linux. Something that woul开发者_开发百科d let me quickly specify standard header fields, make a form request body, etc. (netcat doesn’t really excel at this.)

Any suggestions?


Maybe simply cURL is what you need?


A Python script with urllib2 would seem appropriate. You can manipulate headers at will. Of course you have access to all the request/response fields too. A tutorial can be found here.


If all you are looking to do is to make manual HTTP requests to interact with web services for testing / reference purposes, then there is a really nice add-on for Firefox that does just that. It is called Poster.

0

精彩评论

暂无评论...
验证码 换一张
取 消