使用action-comment-testtask-[taskID].json接口添加备注失败
2024-01-27 16:30:27
徐漫
|
请求过程:
url = BASE_URL + '/action-comment-testtask-{}.json'.format(task_id)
comment_data = {
'comment':content,
'uid':'65b47058b9c37'
}
res = self.session.post(url, data=comment_data)
结果返回 <html><meta charset='utf-8'/><style>body{background:white}</style><script>if(parent !== window) parent.location.reload(true); </script> |
❤️️️️️ 禅道 闫敏 |
测试了下,这个接口就是会返回 这个代码,因为在浏览器添加完备注后,页面会刷新出备注信息; if(parent !== window) parent.location.reload(true);
|
1/1
1