8 lines
158 B
Python
8 lines
158 B
Python
|
import requests
|
||
|
|
||
|
|
||
|
url = "http://127.0.0.1:8080/form"
|
||
|
data = {"username": "admin", "password": "admin"}
|
||
|
f = requests.post(url, data=data)
|
||
|
print(f.status_code)
|