On Tue, 24 Sep 2024, Kaushal Shriyan via curl-users wrote:
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?
I don't think postman uses curl natively. But I think I have seen people mention as "copy as curl" option?
If not, I propose you just tell it to send its request to a http server + port where you run nc -l which when will display the full request.
Then you can copy that full request into "h2c" that converts it to a curl command line for you: https://curl.se/h2c/
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html