Hey all,
Is anyone else have issues with the interactive window?
I'm testing some code (or trying to) and if I change a variable value and do a test EX: ?response it has been giving me the same value I had before I changed it. it is not changing to the new value.
Secondly if I paste code into the window it won't run. For instance I am trying to write an http_get function and if I have req.host = "wsd.adminscreen.net" when it try ?req.host is gives me req.host = "" which obviously is not the case as I've asingned it a direct string value.
I have written the exact same code in the window and only once have gotten it to give me a correct result the rest of the times it does not.
Here is some of the code I'm trying and the response I'm getting
Or this:
Is anyone else have issues with the interactive window?
I'm testing some code (or trying to) and if I change a variable value and do a test EX: ?response it has been giving me the same value I had before I changed it. it is not changing to the new value.
Secondly if I paste code into the window it won't run. For instance I am trying to write an http_get function and if I have req.host = "wsd.adminscreen.net" when it try ?req.host is gives me req.host = "" which obviously is not the case as I've asingned it a direct string value.
I have written the exact same code in the window and only once have gotten it to give me a correct result the rest of the times it does not.
Here is some of the code I'm trying and the response I'm getting
HTML Code:
dim request as p dim response as p request.host = "wsd.adminscreen.net" request.page = "/evolution.asmx/ViewCostPriceBySKU" request.ServerID = "?ServerID=1" request.TokenKey = "&TokenKey=42274449465b2c744c7461645649666c7c4865747a6b7a282f433d797d" request.Password = "&Password=test1" request.SkuID = "&SkuID=unv21200" request.method = "POST" response = http_fetch(request) ?request= body = "" cookie = "" header = "" host = "" method = "" page = "" Password = "" port = 0 protocol = "" query_string = "" referer = "" ServerID = "" SkuID = "" ssl_on = .F. ssl_ValidateCert = .T. timeout = 0 TokenKey = "" user_agent = ""
HTML Code:
dim request as p dim response as p request.host = "wsd.adminscreen.net" request.page = "/evolution.asmx/ViewCostPriceBySKU" request.ServerID = "?ServerID=1" request.TokenKey = "&TokenKey=42274449465b2c744c7461645649666c7c4865747a6b7a282f433d797d" request.Password = "&Password=test1" request.SkuID = "&SkuID=unv21200" request.method = "POST" response = http_fetch(request) ?response = body = error_code = 1 error_text = "Host must be specified." headers = "" +parsed_headers.
Comment