URL APIs
abstractAPIs for reading content from URLs
_readURL
Since: | Sahi Pro | Desktop Add-On | Mobile Add-On | SAP Add-On | AI Assist Add-On |
3.5 | 7.0.0 | 7.5.0 | 9.0.0 | NA |
Available for modes: Browser | Windows | Java | Android | iOS | SAP
_readURL($url)
Arguments
$url | string | URL to read content from |
Returns
string | Response body |
Sahi Pro Flowcharts Action :Read URL
Details
Sends a GET request to the URL and returns response body as a string.
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