All Questions
2 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)
...
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 ...