Low-level interface for connecting to Cumulocity and sending requests.
com.apama.cumulocity.CumulocityRequestInterface static connectToCumulocity()Creates an HTTPTransport which automatically connects to Cumulocity.
- The instance of the event that contains a transport.
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.
- 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.