Hi List

Newb again.

I am trying to write a script that will use variables passed to the script from the dialplan in a http GET or POST  URL call.

Please what is the proper way of doing this?
I've tried a few things and they dont work:

variable1 = argv[1];
variable2 = argv[2];
In the script proper:
web_url = ("http://webserver//index.php?u=%s&var2=%s", variable1, variable2);
session:execute("curl", web_url);

Thanks!