I need to request a list of URLs, passing each time different variable via POST, and most importantly, I need to save the output of each request.
Is there a way with Python I can make multiple URL requests running in background so that the request are not done ones at a time (as at the moment)?
for exrow in exdata:
id = exrow['increment_id']
mage = requests.post(complete_url, data = {'id' : id})
output = mage.content
if output :
f.writelines(output + ',')