URL APIs
abstractAPIs for reading content from URLs
Sends a GET request to the URL and returns response body as a string.
Parameters
$url | string | URL to read content from |
Return Value
string | Response body |
Modes Supported :
Raw Script
var $contents = _readURL("http://sahi.co.in/demo/index.htm"); // returns contents of the page
Sahi Pro Classic API :_readURL