How to use curl to access vsphere sdk api