return sendAsyncRequest(HttpMethod.PUT, path, mediaType, representation);
}
private <T extends ResourceRepresentation> Future sendAsyncRequest(String method, String path, CumulocityMediaType mediaType, T representation) {
BufferRequestService bufferRequestService = platformParameters.getBufferRequestService();
return bufferRequestService.create(BufferedRequest.create(method, path, mediaType, representation));
}
@SuppressWarnings("unchecked")
public <T extends ResourceRepresentation> T post(String path, CumulocityMediaType mediaType,
T representation) throws SDKException {