This code is part of a blog post and is not actively maintained by Postman. Command line utility to process piped curl responses and create postman a request on a collection using the Postman API This ...
A pre-request script copied from a working Postman request should execute successfully within Insomnia's time limit. After the script completes, the main HTTP request should be sent as configured.