address update

This commit is contained in:
muassif 2021-08-21 17:18:34 +04:00 committed by GitHub
parent 6d5ae86de4
commit dd0c650ba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ headers = {
'Authorization': 'Basic {}'.format(str(basic_token, 'UTF-8'))
}
url = "https://10.52.90.101/rest-gateway/rest/api/v1/auth/token"
url = "https://10.52.90.10/rest-gateway/rest/api/v1/auth/token"
resp = requests.request("POST", url, headers=headers,
data=payload, verify=False)
token = resp.json()["access_token"]