import requests # --- urls --- # service_url = 'http://192.168.30.115:18800' # service_url = 'http://192.168.30.115:8800' service_url = 'http://192.168.30.13:8800' # service_url = 'http://192.168.3.59:8802' # --- test Key --- # print(requests.post(url=f'{service_url}/api', json={'module': 'Key', 'method': 'create_key'}).text) # print(requests.post(url=f'{service_url}/api', json={'module': 'Key', 'method': 'verify_key'}).text)