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

Knowledge base api get post method text error #10836

Closed
5 tasks done
dajianguo opened this issue Nov 19, 2024 · 1 comment · Fixed by #10837
Closed
5 tasks done

Knowledge base api get post method text error #10836

dajianguo opened this issue Nov 19, 2024 · 1 comment · Fixed by #10837
Labels
📚 documentation Improvements or additions to documentation

Comments

@dajianguo
Copy link
Contributor

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.11.2

Cloud or Self Hosted

Cloud, Self Hosted (Docker), Self Hosted (Source)

Steps to reproduce

Knowledge base api get post method text error.
image

✔️ Expected Behavior

THE "POST" is wrong, it should be "GET"。

❌ Actual Behavior

THE "POST" is wrong, it should be "GET"。

Copy link

dosubot bot commented Nov 19, 2024

The correct HTTP method for the Knowledge Base API endpoint in the Dify documentation is POST for creating and updating documents, while the GET method is used for retrieving information, such as listing knowledge bases or documents [1][2]. If the documentation or implementation incorrectly uses POST where GET should be used, it might be a documentation or code error that needs to be addressed.

To continue talking to Dosu, mention @dosu.

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

Successfully merging a pull request may close this issue.

1 participant