2017-05-05 12:09:32 +01:00
|
|
|
import requests
|
|
|
|
|
|
|
|
# Warning: This is a heavy process.
|
|
|
|
|
|
|
|
data = ""
|
|
|
|
for i in range(1, 250000):
|
|
|
|
data += str(i)
|
|
|
|
|
2017-05-07 13:11:40 +01:00
|
|
|
r = requests.post('http://127.0.0.1:8000/method_view', data=data)
|
2017-05-05 12:09:32 +01:00
|
|
|
print(r.text)
|