curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder Daniel himself.

Assistance with Capturing cURL Request using tcpdump

From: Kaushal Shriyan via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 24 Sep 2024 07:02:47 +0530

Hi,

I am using Postman to invoke a REST API call. Is there a way to capture the
cURL (https://curl.se/) request (including headers and body) initiated by
the Postman REST API client to the application server running RHEL 8.10 OS,
and then to the backend server/system using tcpdump and analyze the packet
capture (.pcap) file in Wireshark?

The flow is as follows:
Postman → Application server → Proxy server → Backend server.

Headers: Contain metadata about the request, such as content type, user
agent, etc.
Body: Contains the data that we want to send (if any). Typically used with
POST and PUT methods.

Please guide me. Thanks in advance.

Best Regards,

Kaushal


-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2024-09-24