forked from sangge/tpre-python
main #22
@ -109,9 +109,9 @@ async def send_user_des_message(source_ip: str, dest_ip: str, re_message): #
|
|||||||
|
|
||||||
# 发送 HTTP POST 请求
|
# 发送 HTTP POST 请求
|
||||||
response = requests.post(
|
response = requests.post(
|
||||||
"http://" + dest_ip + "/receive_messages", json=data
|
"http://" + dest_ip+ ":8002" + "/receive_messages", json=data
|
||||||
)
|
)
|
||||||
print(response)
|
print(response.text)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user