test.py 176 B

123456
  1. import requests,json
  2. data = json.dumps( {"username":"ljx", "password":"123456"})
  3. res = requests.post( "http://127.0.0.1:8000/SDataApi/examLogin", data =data)
  4. print( res.text)