Introduction
Postman is a top-rated client tool to test API calls. Many API providers document how to call their API using Postman. In this article, we will focus on how to get the HTTP and Curl request code snippet for their API using Postman.
Solution
HTTP Request From Postman
- Go to your Postman desktop or web tool and provide all required details for the API endpoint such as headers, body and etc. then click the Send button shown in step 1.
- Make sure your API calls are successfully completed with Response.
- Click on Code </> icon to see the code snippet shown in step 2
- Select the HTTP option from Code Snippet Dropdown as per step 3
- Here you would get the HTTP Request for API as shown in step 4
- Copy the HTTP Request from step 4 and send it to us.
If you want to migrate from the Postman API call to our SSIS / ODBC PowerPack, please refer to the below article for the same:
https://zappysys.com/blog/postman-to-ssis-odbc-powerpack/
--------------------------------------------------------------------------------------------------------------------
cURL Request From Postman
- Go to your Postman desktop or web tool and provide all required details for the API endpoint such as headers, body and etc. then click the Send button shown in step 1.
- Make sure your API calls are successfully completed with Response.
- Click on Code </> icon to see the code snippet shown in step 2
- Select the cURL option from Code Snippet Dropdown as per step 3
- Here you would get the HTTP Request for API as shown in step 4
- Copy the cURL Request from step 4 and send it to us.
If you want to translate the cUrl command line syntax to our SSIS / ODBC PowerPack, please refer to the below article for the same:
https://zappysys.com/blog/using-ssis-curl-syntax-to-ssis-api-task/
--------------------------------------------------------------------------------------------------------------------
Contact Us
If you have more questions (s) feel free to contact us via Live chat or email at support@zappysys.com
Comments
0 comments
Please sign in to leave a comment.