Hello, Everyone
I could using Unity or Python to make a UI with button to controll the VRED with the help of WEB interface.
It works well. However, if i require username and password. The code does not work.
It seems I should add same infromation in the http request. But I don't know how. Anybody could help?
![luqianghan_0-1676517144240.png luqianghan_0-1676517144240.png](https://forums.autodesk.com/t5/image/serverpage/image-id/1177178iBF8BB7ECCF4B0DC1/image-size/medium?v=v2&px=400)
import requests
Header = 'http://'
IP = '10.228.96.20'
Port = "8890"
comand = '''
selectVariantSet("Swtich_Environment")
'''
finalCommand = Header+IP+':'+Port+'/pythonapi?value='+comand
x =requests.get(finalCommand)