CURL()

CURL(URL[|POST-data])

Loads a web page from the specified URL using GET. If POST-data are provided, these are sent with POST. Returns the page as a string.

; Retrieve http://example.com/page.php?id=1&action=view :
exten => 123,1,Set(foo=${CURL(http://example.com/page.php?id=1&action=vi
ew)})