I am looking for a command line tool that listens on a given part, happily excepts every HTTP POST request and dumps it.
I want to use it for testing purposes, i.e. for testing clients that issue HTTP POST requests.
That means I am searching the counterpart to
curl -F
(which I can use to send test HTTP POSTs to a HTTP server).
Perhaps something like socat TCP4-LISTEN:80,fork,bind=127.0.0.1 ...
- but socat is not enough because it does not talk HTTP.
Asked by maxschlepzig
(59522 rep)
Dec 7, 2012, 11:24 PM
Last activity: Dec 19, 2024, 04:33 PM
Last activity: Dec 19, 2024, 04:33 PM