How can I use netcat (nc) to log both raw HTTP requests and responses?
Issue
- How can I use netcat (
nc
) to log both raw HTTP requests and responses? - I'm using one web service stack, and it gets an HTTP 200 response from the endpoint, but when I use JBossWS I get an HTTP error code (404, 500, 501, etc). How can I tell what is different between the two requests?
Environment
- Any environment with named pipes and
nc
(netcat) available.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.