Module: kamailio
Branch: master
Commit: b6ddd2e1348c45a662c9ee0cbc76ae0c3d2d407e
URL:
https://github.com/kamailio/kamailio/commit/b6ddd2e1348c45a662c9ee0cbc76ae0…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-10-21T07:25:11+02:00
curl Add example of using pvars
---
Modified: modules/curl/curl.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b6ddd2e1348c45a662c9ee0cbc76ae0…
Patch:
https://github.com/kamailio/kamailio/commit/b6ddd2e1348c45a662c9ee0cbc76ae0…
---
diff --git a/modules/curl/curl.c b/modules/curl/curl.c
index be2a5b0..ae9f464 100644
--- a/modules/curl/curl.c
+++ b/modules/curl/curl.c
@@ -41,6 +41,7 @@
* curl_connect(connection, url, content-type, data, $avp)
*
* $var(res) = curl_connect("anders", "/postlåda",
"application/json", "{ ok, {200, ok}}", "$avp(gurka)");
+ * $var(res) = curl_connect("anders", "/postlåda",
"application/json", "$var(tomat)", "$avp(gurka)");
*
*/