How to use collected variables in mod_curl in lua script
17 Jan
2015
17 Jan
'15
9:29 p.m.
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!
4309
Age (days ago)
4309
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sina Owolabi