views:

54

answers:

3

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

Any suggestions?

+1  A: 

Maybe simply cURL is what you need?

valya
Thanks! Pretty close. Though I was looking for something more visual, of the point-and-click kind, curl would probably do the trick in many cases.
Vasiliy Faronov
I think you'll find a GUI for cURL :)
valya
(на галочку-то нажми!)
valya
+1  A: 

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.

jldupont
Well, of course I can always do it by myself (I’d probably use httplib though), I was just thinking there might be something ready-made.
Vasiliy Faronov
A: 

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.

Michael Aaron Safyan
Yes, that’s just what I wanted, thanks.
Vasiliy Faronov