com.apama.cumulocity
Event CumulocityRequestInterface
Low-level interface for connecting to Cumulocity and sending requests.
connectToCumulocity
com.apama.cumulocity.CumulocityRequestInterface static connectToCumulocity()
Creates an HTTPTransport which automatically connects to Cumulocity.- Returns:
- The instance of the event that contains a transport.
createRequest
com.softwareag.connectivity.httpclient.Request createRequest(string method, string path, any payload)
Creates a request on the transport that has been configured for a Cumulocity connection.- Parameters:
- method - The type of HTTP request, for example RequestType.GET.
- path - A specific path to be appended to the request.
- payload - A dictionary of elements to be included in the request.