Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

知识库接口-创建一个文件集合调用失败 #1785

Closed
5 tasks done
huijinshizhe2017 opened this issue Jun 17, 2024 · 1 comment
Closed
5 tasks done

知识库接口-创建一个文件集合调用失败 #1785

huijinshizhe2017 opened this issue Jun 17, 2024 · 1 comment

Comments

@huijinshizhe2017
Copy link

例行检查

  • 我已确认目前没有类似 features
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,已确定现有版本无法满足需求
  • 我理解并愿意跟进此 features,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 features 可能会被无视或直接关闭

功能描述
通过http://localhost:3000/api/core/dataset/collection/create/localFile调用接口,报404错误。
应用场景
二次开发创建本地文件集合,调用接口报错。
相关示例
curl --location --request POST 'http://localhost:3000/api/core/dataset/collection/create/localFile'
--header 'User-Agent: Apifox/1.0.0 (https://apifox.com)'
--header 'Authorization: Bearer xxx'
--header 'Accept: /'
--header 'Host: localhost:3000'
--header 'Connection: keep-alive'
--header 'Content-Type: multipart/form-data; boundary=--------------------------507277619813907857944372'
--form 'file=@"C:\Users\admin\Desktop\防治条例_1703576498649.docx"'
--form 'data="{}"'

@c121914yu
Copy link
Collaborator

自己把最新代码合并~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants