I am calling an api with the following syntax: testapi.php?fname=guy
How do I call it from download2? I see examples that use the following format: j.download2("http://www.test.com/testapi.php", some array....)
I tried the following:
j.download2("http://www.test.com/testapi.php", array as string("fname","guy"))
When I try to run the application, I get an range or index out of bounds.
Am I passing the parameters correctly?
Thanks - Guy
How do I call it from download2? I see examples that use the following format: j.download2("http://www.test.com/testapi.php", some array....)
I tried the following:
j.download2("http://www.test.com/testapi.php", array as string("fname","guy"))
When I try to run the application, I get an range or index out of bounds.
Am I passing the parameters correctly?
Thanks - Guy
Last edited: