That will capture all traffic on port 80 and log it to capture.log in your home directory. After starting this command, perform whatever actions you are testing, and then Ctrl-C to stop the capture. When complete, you can use either tcpdump or preferrably the GUI program Wireshark to inspect and analyze the capture.
You are testing your app. So, you don't need to keep the logs for a long time.
1- You can use tcpump/wireshark to sniff HTTP traffic. You will have access to all traffic.
2- You can install an add-on for your browser (like firefox) to show you the posted data.
On your server, run:
That will capture all traffic on port 80 and log it to
capture.log
in your home directory. After starting this command, perform whatever actions you are testing, and thenCtrl-C
to stop the capture. When complete, you can use either tcpdump or preferrably the GUI program Wireshark to inspect and analyze the capture.