mirror of
https://github.com/open-webui/docs.git
synced 2026-07-21 10:05:26 -04:00
[PR #463] [MERGED] Handle encoding for json in python example #527
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/463
Author: @ssweber
Created: 3/31/2025
Status: ✅ Merged
Merged: 3/31/2025
Merged by: @tjbck
Base:
main← Head:patch-1📝 Commits (1)
7734e19handle encoding for json📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
docs/getting-started/api-endpoints.md(+1 -1)📄 Description
Instead of using data=data, use json=data to ensure the requests library automatically handles the encoding for JSON.
Before this change it has error:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.