This commit is contained in:
narawat lamaiin
2024-12-09 20:48:45 +07:00
parent 4f1280daa3
commit 9aef993813
47 changed files with 16623 additions and 12554 deletions

View File

@@ -0,0 +1,34 @@
import requests
# URL of the API endpoint
url = 'https://api.yiem.cc/wine/agent/sommelier/prompt/apiv1'
# Data to be sent in the JSON request
data = {
'sid': 'dummySID',
'txt': 'hello'
}
# Sending the POST request
response = requests.post(url, json=data)
# Displaying the response
print('Status Code:', response.status_code)
print('Response JSON:', response.json())