这是一个使用 Python3 写的多线程发送 POST 请求的代码示例:
import threading
import requests
def send_post_request(url, data):
response = requests.post(url, data=data)
print(response.text)
# 使用线程执行 send_post_request 函数
threading.Thread(target=send_post_request, args=('http://example.com', {'key': 'value'}))