mirror of
https://github.com/open-webui/docs
synced 2025-06-12 01:21:23 +00:00
Merge pull request #463 from ssweber/patch-1
Handle encoding for json in python example
This commit is contained in:
commit
3a54c302a5
@ -62,7 +62,7 @@ To ensure secure access to the API, authentication is required 🛡️. You can
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
response = requests.post(url, headers=headers, data=data)
|
response = requests.post(url, headers=headers, json=data)
|
||||||
return response.json()
|
return response.json()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user