Break up the node server and curl command