callAPI: Framework for making an Azure ML web service API call.
Description
Helper function that constructs and send the API call to a Microsoft Azure Machine Learning web service, then receives and returns the response in JSON format.Usage
callAPI(apiKey, requestUrl, keyvalues, globalParam, retryDelay)
Arguments
keyvalues
the data to be passed to the web service
globalParam
the global parameters for the web service
retryDelay
number of seconds to wait after failing (max 3 tries) to try again