pxl_oboard/post.py

7 lines
208 B
Python
Raw Normal View History

2023-04-19 18:27:13 +00:00
import requests
payload = {'x': 52, 'y': 20, 'color': 'r'}
#response = requests.post('http://pb.dmcraft.online', data=payload)
response = requests.post('http://127.0.0.1:3333', data=payload)
print(response)