File size: 352 Bytes
9997478
 
fff3a21
9997478
cc2a8ff
9997478
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import requests

url = "https://cjell-Demo.hf.space/spam"

payload = {"text": "Congratulations! You won $1000! Click this link to claim your prize! htts://fakesite.com."}

response = requests.post(url, json=payload)

print("Status:", response.status_code)
try:
    print("JSON:", response.json())
except Exception:
    print("Raw text:", response.text)