Skip to main content

All Questions

0 votes
1 answer
2k views

Get aiohttp request response in callback with a infinite loop of asyncio task

What I am doing- I am trying to make multiple post requests(to the same URL with different parameters) in an infinite loop using asyncio and aiohttp. def callback(response): print(response) ...
Ahsan aslam's user avatar
  • 1,199
1 vote
0 answers
397 views

Concurrent POST requests w/ attachment Python

I have a server which waits for a request containing a pictures: @app.route("/uploader_ios", methods=['POST']) def upload_file_ios(): imagefile = request.files['imagefile'] I can submit a post ...
Ilia's user avatar
  • 69