parent
41756716e7
commit
d9a47dfd55
@ -1,10 +0,0 @@
|
|||||||
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)
|
|
||||||
|
|
||||||
#Get color
|
|
||||||
response = requests.get('http://127.0.0.1:3333/?get_color=52,20')
|
|
||||||
print(response.text)
|
|
Loading…
Reference in new issue