Learn R Programming

AzureML (version 0.2.10)

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 = 10)

Arguments

apiKey
primary API key
requestUrl
API URL
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

Value

result the response