Python-for-Geeks/Chapter14/nsp/location_services2.py
2021-08-21 17:15:28 +04:00

7 lines
245 B
Python

import requests
payload = {}
headers = {}
url = "https://10.52.90.10/rest-gateway/rest/api/v1/location/services/endpoints?endPoint=/v1/auth/token"
resp = requests.request("GET", url, headers=headers, data=payload, verify=False)
print(resp.text)