mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-19 20:37:51 +00:00
14 lines
293 B
Python
14 lines
293 B
Python
import json
|
|
|
|
import requests
|
|
|
|
url = "http://localhost:9600/delete_message"
|
|
|
|
payload = {"client_id": "test", "id": 283}
|
|
|
|
headers = {"accept": "application/json", "Content-Type": "application/json"}
|
|
|
|
response = requests.post(url, headers=headers, data=json.dumps(payload))
|
|
|
|
print(response.text)
|