@EdmFunctionImport(name = "CreateRecord", returnType = @ReturnType(type = Type.SIMPLE , isCollection = false),
httpMethod = HttpMethod.POST)
public String createRecord(@EdmFunctionImportParameter(name = "id", facets = @EdmFacets(nullable = false)) final String p) {
try {
return null;
} catch(Exception e) {
}
}
以上代码不起作用。。当向该函数发布数据时,无法获取请求正文。
暂无答案!
目前还没有任何答案,快来回答吧!