Loading

How to export Postman request as a cURL command

게시 일자: Jul 5, 2023
상세 설명
When working with HTTP requests (for example with HTTP connector in MuleSoft Composer), sometimes you test the request through Postman to compare the results. When those results are different and you need to share the comparison with the MuleSoft/Salesforce support team, you can easily do it by exporting the Postman request as a cURL command.
솔루션
Once you have all the configurations set in Postman for your request, you need to click on the "Code" ( < / > ) button.

Screenshot 2023-07-04 at 15.33.15.png

The Code snippet tab will be opened and the code will be shown. If you see that the code is not a cURL command, you can change the format by clicking on the button in the top right corner (where the red arrow points in the next screenshot).

Screenshot 2023-07-04 at 15.35.58.png

The last step is to copy the full code snippet from this tab and share it in the case comments.

Notice that it will be also helpful to share the full response you receive in Postman for this request (copying it from the Response tab).
Knowledge 기사 번호

000395808

 
로드 중
Salesforce Help | Article