Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- from requests import HttpBasicAuth #maby this one
- def randomPythonfunk():
- url = "http://YOURIP:8083/JS/Run/*"
- params = {'username' : 'chabo', 'password' : 'sommar123'}
- cokie = dict(username = 'cahbo', password = 'sommar123')
- request = requests.post(url, params = params, cookies = cokie)
- print requests.text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement