Adding Curl-To-Postman and more…

  • When I had added CreateCurl() function, it allowed curl options like forms and headers to support multiple values in a command.
newman request -X POST -F 'username=davidwalsh' -F 'password=something' https://postman-echo.com/postnewman request -X POST  https://postman-echo.com/post -d '{"hello":"world"}' -H 'Content-Type: text/json' -H 'Scheme: https' --user-agent 'mobile app' 
newman request -X POST 'https://postman-echo.com/post' -d 'name=admin' -d 'shoesize=12'
  • Even though the method curl2postman.convert is synchronous in execution nature but its implementation has been done in a way of the async method by the module owner and we have to follow that. So, we can't return the collection from here, as was being done previously.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store