Community
VRED Forum
Welcome to Autodesk’s VRED Forums. Share your knowledge, ask questions, and explore popular VRED topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

user name and password of WEB interface

0 REPLIES 0
Reply
Message 1 of 1
luqiang.han
139 Views, 0 Replies

user name and password of WEB interface

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

 

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)
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report