Posts

Showing posts with the label Postman

"Could Not Get Any Response" Response When Using Postman With Subdomain

Image
Answer : First Go to Settings in Postman : Off the SSL certificate verification in General Tab: Off the Global Proxy Configuration and Use System Proxy in Proxy Tab: Make Request Timeout to 0 (Zero) I had the same issue. It was caused by a newline at the end of the "Authorization" header's value, which I had set manually by copy-pasting the bearer token (which accidentally contained the newline at its end) If you get a "Could not get any response" message from Postman native apps while sending your request, open Postman Console (View > Show Postman Console), resend the request and check for any error logs in the console. Thanks to numaanashraf

Bulk POST/PUT API Requests Using POSTMAN Or Any Other Means

Image
Answer : Never mind I figured out a way to use postman's collection runner to accomplish the same. For those who struggled like the way I did, here is how to use that feature and its even easier to substitute values to your url on the go. First create a request in Postman: Below is a screenshot for Example : Now the requirement is to post the below url: https://someApiPOSTRequest/clientAssign?auth=123|asdf&otherParamsList=123Params&someOtherParams={{VariableFromFile}}&additionalParams=hardcodedOnURL with values being substituted for {{VariableFromFile}} from the csv file you will need to upload. Your csv should be formatted as below, where the header should have the same variable name used on your url: Click on the '>' button shown below beside Example folder and click on 'Run' to open the same on Collection runner window of postman: Once the Collection Runner window opens up, click on select file option to upload your csv ...