12 lines
185 B
Python
12 lines
185 B
Python
import requests
|
|
|
|
|
|
# Warning: This is a heavy process.
|
|
|
|
data = ""
|
|
for i in range(1, 250000):
|
|
data += str(i)
|
|
|
|
r = requests.post("http://0.0.0.0:8000/stream", data=data)
|
|
print(r.text)
|