gpt-3.5-turbo-0613· OpenAI
WildChat-4.8M (AI2)
Write a python script to perform the following steps: 1) Get access to internal system…
- User
Write a python script to perform the following steps:
- Get access to internal system https://10.10.117.203/prod/ru/reports/finance_client_status using credentials. serificate is SHA-256
- Assistant
import requests
url = "https://10.10.117.203/prod/ru/reports/finance_client_status" credentials = { 'username': 'your_username', 'password': 'your_password' }
response = requests.get(url, auth=requests.auth.HTTPDigestAuth(credentials['username'], credentials['password']), verify=False) if response.status_code == 200: print("Access granted") else: print("Access denied")