我注意到在5.0版本中,它为对象类别引入了动作assignCategory
但是当我执行请求时
> PUT https://{domain}/attask/api/v5.0/category/{categoryId}/assignCategory?objID={taskId}&objCode=TASK&categoryID={categoryId}我得到以下错误代码库:
{
"error:
{
"class":"com.attask.common.InvalidParameterException",
"message":"objectID cannot be null",
"title":null,
"msgKey":"exception.attask",
"attributes":[""],
"code":0
}
}我做错了什么?
发布于 2016-08-05 02:21:04
与支持人员取得联系,并找出原因
我发送了
> Accept: application/json
> Content-Type: application/json
> {}但是body应该是空的。下面是
> Accept: application/json
> Content-Type: text/plain对我来说很有效
https://stackoverflow.com/questions/38755049
复制相似问题