I’m using Postman to work with Taxify (made by Sovos) and their REST API.
I pull up the proper command, go to the “Code” section, and select cURL. I then copy the text there and use it to run the cURL command.
It works perfectly on the Mac but not on Windows. I’ve tried installing cURL on Windows 7 and ran it using the natively installed cURL in Windows 10, but it fails every time on Windows.
Anyone have any suggestions or guidance? I’m not sure why it doesn’t work.
OK - 2 versions of this. The first one is using the exact cURL command, copied directly out of Postman, with the line endings (which appear to work only in Unix-based systems) removed:
curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above.
So then I added the option to ignore security certificate errors:
Great - so you can cut and paste the cURL that runs almost everywhere (as is) but to get it to run in windows you have to edit the whole thing to use " and delimit them when they are in the body and swap the \ at the ends of lines for ^