httpflow

Capture and analyze HTTP traffic from the command line

brewmacoslinux
Try with needOr install directly
Source

About

Packet capture and analysis utility similar to tcpdump for HTTP

Commands

httpflow

Examples

Capture HTTP traffic on default interface$ httpflow -i en0
Capture HTTP traffic and save to output directory$ httpflow -i en0 -d ./http_captures
Capture traffic with specific port filter$ httpflow -i en0 'tcp port 80 or tcp port 443'