Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. import requests
  2. from requests.auth import HTTPBasicAuth
  3.  
  4. url = 'https://......."
  5. username = 'utente'
  6. password = 'password'
  7. result = requests.get(url, verify=False, auth=HTTPBasicAuth(username, password)).json()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement