Transform commands into a node function that will make the request specified by cURL command line arguments.