lollms-webui/tests/unitary_tests/test_delete_message.py
Saifeddine ALOUI 6a0bf65953 fixed errors
2024-02-18 00:14:52 +01:00

19 lines
312 B
Python

import requests
import json
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)