URL APIs

abstractAPIs for reading content from URLs

_readURL

Since: Sahi ProDesktop Add-OnMobile Add-OnSAP Add-OnAI Assist Add-On
3.57.0.07.5.09.0.0NA

Available for modes: Browser | Windows | Java | Android | iOS | SAP

_readURL($url)

Arguments
$urlstring URL to read content from

Returns
stringResponse body

Sahi Pro Flowcharts Action :Read URL

Details

Sends a GET request to the URL and returns response body as a string.
var $contents = _readURL("http://sahi.co.in/demo/index.htm"); // returns contents of the page