首页 > 解决方案 > Request.post() 方法无需等待响应

问题描述

我想发送此请求但不等待响应:

requests.post(url=agregar, data=data, allow_redirects=False , headers=user_agent) 

我怎么做?

标签: pythonpostpython-requests

解决方案


您可以使用 async 和 await 制作异步方法,阅读有关异步和任务的信息,希望对您有所帮助


推荐阅读