https://help.mulesoft.com/s/article/How-to-export-Postman-request-as-a-cURL-command-to-help-MuleSoft-Support
How to export Postman request as a cURL command to help MuleSoft Support
How to export Postman request as a cURL command to help MuleSoft Support
Content
GOAL
Export a postman request as a cURL command to help the support member with a standardized request.
PROCEDURE
In Postman, once you have your request configured. For example:Parameters
Headers
Body
This request is basic, you may have a complex request with more configurations and is the same process.
Click on the "Code" button
Postman will open a pop-up like this.
Change from HTTP to CURL
Share the CURL code to the support member.
Console output
Share the console output that has the complete request and response during execution.
Once a request has been sent, the Postman console records the header of request, variables, Response header and body, certificates, proxy settings, errors, scripts, output obtained from console.log, and so on.