Thanks for this awesome software.
I am trying to make a POST request to the form in config_edit but I'm getting the 418 "I'm a teapot" error.
I've tried POSTing the text directly and tried a multipart file giving "config.wtc" as the name.
Code: Select all
URL = "https://192.168.15.15/config_edit"
new_config_file = {"config_save":('config.wtc',"""server=192.367.192
bpp=16
turnoffmenu=always
disk=usb
keyboard=pt-br
connection""")}
post = s.post(URL, auth=('', '123456'), files=new_config_file)
Code: Select all
# Here I tried "config", "config_save", "config.wtc"
new_config = {"config_save":"""server=192.367.192
bpp=16
turnoffmenu=always, msg: "Aguardando tecla..."
disk=usb
keyboard=pt-br
connection"""}
post = s.post(URL, auth=('', '123456'), data=new_config)
Thanks