aboutsummaryrefslogtreecommitdiffstats
path: root/test/mitmproxy/test_flow_export/python_post.py
blob: b13f64410853a0694faaf91e5e3d6732de7301fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import requests

url = 'http://address/path'

data = '''content'''

response = requests.request(
    method='POST',
    url=url,
    data=data,
)

print(response.text)