当我尝试上传微服务的zip文件时,得到响应:
{
"error": "applications/Bad Request",
"info": "https://www.cumulocity.com/guides/reference-guide/#error_reporting",
"message": "Supported only for hosted applications"
}
但是微服务如何成为托管应用程序?
实际上是在配置步骤中,要求放置
"type":"MICROSERVICE"
,如此处所述(https://cumulocity.com/guides/microservice-sdk/rest/)。