Hi
I need login this server first when i typing http://192.168.1.123/di_value/slot_0 in the browser, I cound get respone as following.
when use following B4J code, I get error message, Do i need login it first with B4J code !?
I need login this server first when i typing http://192.168.1.123/di_value/slot_0 in the browser, I cound get respone as following.
B4X:
{"DIVal":[{"Ch":0,"Md":0,"Val":0,"Stat":0,"Cnting":1,"OvLch":0},{"Ch":1,"Md":0,"Val":0,"Stat":0,"Cnting":1,"OvLch":0},{"Ch":2,"Md":0,"Val":0,"Stat":0,"Cnting":1,"OvLch":0},{"Ch":3,"Md":0,"Val":0,"Stat":0,"Cnting":1,"OvLch":0}]}
when use following B4J code, I get error message, Do i need login it first with B4J code !?
B4X:
Dim job1 As HttpJob
job1.Initialize("dnc",Me)
job1.download("http://192.168.1.123/di_value/slot_0")
B4X:
Waiting for debugger to connect...
Program started.
{"Err": 1000, "Msg": ""}
Error: Bad Request
Last edited: