mesg_test.py 380 B

123456789101112131415161718
  1. # -*- codeing = utf-8 -*-
  2. # @Time : 2022/10/11 13:52
  3. # @Author : Clown
  4. # @File : mesg_test.py
  5. # @Software : PyCharm
  6. import requests
  7. # url = 'http://127.0.0.1:8883/qaurl'
  8. url = 'http://944gwy.natappfree.cc/qaurl'
  9. headers = {'content-type': 'application/json;charset=UTF-8'}
  10. json_params = {}
  11. resp = requests.post(url,json=json_params,headers=headers).text.split()
  12. print(resp)