Capture the cURL (https://curl.se/) request (header and body) initiated by Postman REST API client

asked 2024-09-24 01:25:26 +0000

Hi,

I am using a postman to invoke a REST API call. Is there a way to capture the cURL (https://curl.se/) request (header and body) initiated by Postman REST API client to the Application server which is running RHEL 8.10 OS to the backend server/system using tcpdump and using wireshark to analyse the packet.pcap trace file?

Postman -> Application server -> Proxy server -> Backend server.

Headers which contain metadata about the request, such as content type, user agent, and so on.

Body which is the message body and contains the data that we want to send, if any. Generally, the body is used with POST and PUT methods.

Please guide me.

Best Regards,

Kaushal

edit retag flag offensive close merge delete

Comments

If you can test with unencrypted http, probably.
Is running over https probably not.
Add support for SSLKEYLOGFILE #8873

Chuckc gravatar imageChuckc ( 2024-09-24 02:41:00 +0000 )edit