I am trying to write a Python program that POSTs a build request to a Jenkins server over HTTPS. I have tried PycURL, which works well, but am now trying to replace that with standard library facilities. The revised program receives a 404 response from the server however, so I would like to inspect both versions of the program’s actual POST requests to the server (with and without PycURL) to see what’s different.
Which tool can I use to capture my program’s POST requests and analyze them?
You can use wireshark.
But wireshark gives dumps overwhelming amount of data.
So choose any packet in the dump.
Right click and Follow Stream.
Read good tutorial here.